Hi,
This should be a very basic question. On a groupbox on the form, for example
TGroupBox *GroupBox1;
if I do
someVar = GroupBox1->Height;
I should get the value of the height of the goupbox as drawn on the form, correct? This is confusing me because I'm upgrading a project that uses exactly this syntax. The form height, width, top, and left are all set. However, when I use the debugger, once I get to see that object it is showing all 0's for each of these properties. I don't know if it was a problem with conversion or not. Does anyone have any ideas on this?
I'm considering just copying the old component, pasting, deleting the old, and changing the new ones name. If I do copy and paste, the component shows up proper. Weird
Thankyou
This should be a very basic question. On a groupbox on the form, for example
TGroupBox *GroupBox1;
if I do
someVar = GroupBox1->Height;
I should get the value of the height of the goupbox as drawn on the form, correct? This is confusing me because I'm upgrading a project that uses exactly this syntax. The form height, width, top, and left are all set. However, when I use the debugger, once I get to see that object it is showing all 0's for each of these properties. I don't know if it was a problem with conversion or not. Does anyone have any ideas on this?
I'm considering just copying the old component, pasting, deleting the old, and changing the new ones name. If I do copy and paste, the component shows up proper. Weird
Thankyou