Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, November 30, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/30/2024 6:35:41 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!
Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Controls
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: How to Dynamic create Control at runtime?
Kener Liu
Posts: 16
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!
[
Reply
][
Quote
]
Robert Levine
Posts: 132
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.
[
Reply
][
Quote
]
Timmus Agersea
Posts: 328
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
[
Reply
][
Quote
]
Rick Smith
Posts: 96
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
[
Reply
][
Quote
]
Page 1 of 1
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!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/30/2024 6:42:03 AM