9/24/2026 12:05:55 AM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
How to Dynamic create Control at runtime?
Posted: 13 Mar 08 7:24 AM
|
Every body,
I want to dynamic create the some controls like Editbox, checklistbox at the runtime. Does anyone know how to do this? Does SLX support this method?
Thank you so much in advance!
|
|
|
|
Re: How to Dynamic create Control at runtime?
Posted: 14 Mar 08 8:24 AM
|
The simple method is to pre-position the control on your form, and then hide it (enabled=False, visible=False). Then you can unhide it when you need it via code.
|
|
|
|
Re: How to Dynamic create Control at runtime?
Posted: 14 Mar 08 1:57 PM
|
This is not possible using the SalesLogix legacy views or active forms. As Robert suggests, the simple method is to add them at design time and hide/show them as needed. A more complex option is to build the form in .Net and use the .Net Extensions feature to integrate the form into SalesLogix.
Timmus |
|
|
|
Re: How to Dynamic create Control at runtime?
Posted: 15 Mar 08 4:41 PM
|
To switch between two groups of controls that should display consecutively, I have at times used the Tab control for this purpose. The first group is on tab 0, the second on tab 1. By setting the Tab Height to zero, the ony way to go from the first tab to the second is via code, e.g. myTabControl.ActiveTabIndex = 1. Hth.
Rick |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|