ABaecker german english

Issue ID: 00147

Issue: AbVCIndicator Operation
Projekt: Abakus VCL

State: All

User infoScott Carpenter
12.Jul.18 0:45
AbVCIndicator Operation

I am building a project in Delphi XE using your Abakus VCL. Most things are working as expected. However, the AbVCInd component is doing strange actions. I can show you design and runtime images.
Design: https://1drv.ms/u/s!AgbJARSjKjixon94ACoLLA400CX1
Run: https://1drv.ms/u/s!AgbJARSjKjixon5HGZpuqu65Id_r
I have placed the component on a AbPanel and AbGradient. Neither seem to correct the problem. When the program is run, a button colored half shadow covers the background and any other component close to the AbVCInd. Also, all four Value indicators get shifted to the left though I am not offsetting anything. Refresh or repaint does not fix anything. I am stuck in my project until this gets resolved.
I am using Delphi XE in Windows 10 32 bit.

User infoScott Carpenter
12.Jul.18 1:01
I get the same mess with Delphi 2010.

User infoadmin
12.Jul.18 17:15
is it possible that you extract the code / problem to a small application and send us the sources together with the exe file?
But, from tomorow until july 23 we are closed for vacation...

User infoScott Carpenter
13.Jul.18 2:49
When I make a new simple program it works fine. When I added a new AbVCInd component I can get some improvement if I use both to write to and the second one to read from. I seems that maybe reading the values of the component makes the mask?? move around. Even the new component, which I make no changes to other than assigning Course/CourseShould, Roll, Pitch values seems to have the mask jump around. This is for the indicator and the value indicators (all 4). The main "shadow" shifts right and the value indicators shift left. I have attached images. Even if I just click on the component, as shown in the moving.png, this mask shows up. I have been successful in keeping the one AbVCInd lined up except for the Value Indicators. They still shift left. I am using the hidden AbVCInd to write the course to other components.

1_moving.png (11 kB)
2_Setting Initial Course Value.png (64 kB)
3_Setting Pitch.png (59 kB)
4_Just before setting Roll.png (52 kB)
5_After setting Roll before setting courseshould.png (67 kB)
6_Lost focus on AbVCInd after setting values.png (55 kB)
7_Moved AbVCInd to separate panel.png (47 kB)
8_Even here gets a shift.png (35 kB)
9_new AcVCInd above old.png (38 kB)
simple app.png (33 kB)

User infoScott Carpenter
14.Jul.18 4:56
I seem to have corrected the issue by not ever reading data from the components and by setting the values in a specific order. I say seem as I did see a shift in the Value Indicators at one point but I may have writing the new values out of order. I created a global variable and I use this variable to write the course data to each of the compass components. I do not use the current AbVCInd.course value anywhere else. I only set the value.
Before: (does not work)
AbVCInd.course := newvalue;
AbC1.value := AbVCInd.course;
AbC2.value := AbVCInd.course;
After: (does work)
gvCourse := newValue;
AbVCInd.course := gvCourse;
AbC.value := gvCourse;
AbC.value := gvCourse;

User infoadmin
29.Jul.18 14:33
Hi Scott,
we tried to reproduce but can't.
Could you send us a demo with sources so that we try to find out the reason.

Sie sind nicht Angemeldet
Sie können keine Beiträge in dieses Forum schreiben.
Sie können auf Beiträge in diesem Forum nicht antworten.
Sie können Ihre Beiträge in diesem Forum nicht bearbeiten.
Sie können Ihre Beiträge in diesem Forum nicht löschen.
Sie können an Umfragen in diesem Forum nicht mitmachen.
Sie können keine Dateien in diesem Forum posten.