German
Hallo, ich habe ein Problem, bei dem ich mal Hilfe benötige.
Im Moment arbeite ich daran einen simplen Radar in C++ Builder(XE6) darzustellen.
Als Radar verwende ich eine TShape und setzte den Style einmal zu "stCircle" und einmal lasse ich ihn ganz normal(Viereck).
Jetzt will ich, dass ich die Größe mit eine TTrackBar verändern kann.
Das habe ich im Moment so gemacht:
Alles funktioniert super, aber das Problem ist das sich die Höhe(Top) immer nach unten vergrößert und die Breite(Left) immer nach Links.
Ich will es so haben, dass es sich gleichmäßig vergrößert.
Zu diesem Problem habe ich mal ein Video erstellt:
Im Moment arbeite ich daran einen simplen Radar in C++ Builder(XE6) darzustellen.
Als Radar verwende ich eine TShape und setzte den Style einmal zu "stCircle" und einmal lasse ich ihn ganz normal(Viereck).
Jetzt will ich, dass ich die Größe mit eine TTrackBar verändern kann.
Das habe ich im Moment so gemacht:
PHP Code:
Shape2->Height = TrackBar1->Position; // Shape2 ist eine TShape für den Radar
Shape2->Width = TrackBar1->Position;
Ich will es so haben, dass es sich gleichmäßig vergrößert.
Zu diesem Problem habe ich mal ein Video erstellt:
|
[Only registered and activated users can see links. Click Here To Register...]
I'm currently trying to create a radar in Rad Studio XE6.
For the "Radar Object" I used a TShape and set the Shape to "stCircle". To resize the Radar I simply use a TTrackBar and this is how I change the size: PHP Code:
I made a video to describe my problem a bit more understandable:
Hopefully someone out there can help me with this issue :'). Danke schon mal. :handsdown: Thanks in advance. :D MFG cal0x.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.
|