Hi,
I am creating my controls(aprox. 1000 controls) in the application dynamically, with the 'new' operator when the form is created. I'm having some arrays of pointers for the instances, and some other structures.
The problem is that when I am running the application, it takes 20 seconds till...
Hi again,
I tried what you suggested in order to solve the problem of the oveeride the border (the label, the min/max to scrollbar), and it still does'nt work. When I put the label, it moves within the GroupBox along with the CheckBoxes, because they have the same Parent (the GroupBox). So when...
Hi,
So now I have another problem. Everything works fine when its in design time. When I carete everything dynamically, when I change the scrollbar, the method of this event( OnChange, OnScroll) is not called. I put a breakpoint there and nothing. For example:
void __fastcall...
Hi :)
Im sorry to ask you so basic question. I dont know the Borland tool, and I need it for work ASAP.
So thanks for the previous answers. You helped me very much.
I have one more if you do not mind: When the Im scrolling the checkboxes list, the first Checkbox overrides the top border of the...
Hi, Thanks for the info.
So, if I want to use a groupBox instead the scrollbox and attach a scrollbar to it, what do I write in the code in order to move those rows of CheckBoxes when I move the scroll bar?
Thanks
zvikorn
Hi,
I'm using the same Borland 6.0.
It dosnt matter if I do this in design time as you did or dynamically.there is no any code related to the scrolling.
When y ou tried in design time, did you places many rows of chckboxes in the scrollbox, and made the scrollbox smaler, in order to have...
Hi,
I create a groupList and fill it with many CheckBoxes.
bacuase of so many CheckBoxes, the ScroolBox control gets its Vertical Scroll Bar.
Whenever I try to click (check/uncheck) on a CheckBox in the middle of the list, the row of this CheckBox skips down to the bottom of the ScrollBox, and...
Hello,
I would like to create a CheckBox dynamicaly when the form is created.
The code will look like that:
TCheckBox *cBox=new TCheckBox (MainForm);
cBox->Name=......;
cBox->Parent = MainForm;
.
.
.
Q: I want to do something when the user click the CheckBox at runtime.
Since the CheckBox was...
Hi again,
I have a different page control with a Tab called 'maintenance', within the Form.
the code is:
TGroupBox* Group = new TGroupBox(MainForm);
Group->Parent = MainForm->maintenance;
When the second line is executed, another process is executed (within a dos command window). In...
Hi,
I have to use the GroupBox which includes many rows of checkboxs that will be created dynamically.
If I create this GroupBox on the Form, whenever the amount of rows gets over the height of the GroupBox, The Form's ScrollBards are added by default.
But I create the GroupBox on a PageControl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.