Hello there,
I am considerably new in PowerBuilder and would like to dynamically resize a GroupBox whenever the controls in the GroupBox resize. In order to do so, I would like to create a list of GroupBoxes with a 'pointer' to the left-topmost, left-bottommost, right-topmost and right-bottommost controls before the controls are being resized and re-positioned.
But after Googl-ing for some time, I am unable to find anything except for REF used in functions.
Is there any way to do something similar to the following in PowerBuilder?
{Codes}
// my first pointer
#include <iostream>
usingnamespace std;
int main ()
{
int firstvalue, secondvalue;
int * mypointer;
mypointer = &firstvalue;
*mypointer = 10;
mypointer = &secondvalue;
*mypointer = 20;
cout << "firstvalue is "<< firstvalue << '\n';
cout << "secondvalue is "<< secondvalue << '\n';
return 0;
}
{Output}
firstvalue is 10
secondvalue is 20
Thank you in advance.