3/17/2026 1:24:53 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 writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Form control issue
Posted: 24 Jan 08 4:36 AM
|
Hi guys
I have searched for help with this query but im still struggling so would like some pointers if possible.
Using version 6.2.4 I have a form that pops up from a button on the mainview, however I would like to have a button on this form that pops a new form up (2 popped up forms on the screen at once) and then closes the 1st popup form in the background.
Is this possible? I can only get the 1st popup form to close once the 2nd popup form has been closed. Is there a way to set the focus to the 1st form, close it, and then set the focus to the 2nd form.
Thanks for any help in advance
Lee |
|
|
|
Re: Form control issue
Posted: 25 Jan 08 2:39 AM
|
Hi Lee,
You could do this by handling it from the button on the Main View.
You pop the original screen and then, when you click the other button it closes the first screen with whatever action you wish and, perhaps, sets a global that indicates the button was pressed. Then the original form picks up the global and pops the second screen.
Cheers,
Stephen
|
|
|
|
Re: Form control issue
Posted: 25 Jan 08 10:31 AM
|
Another suggestion is to load the secnd screen as a MainView from the first one (instead of some other way such as DoInvoke or ShowViewForRecord). The only way you can invoke one screen from another is to either use Stephen's suggestion - or to have the second screen load as a non-modal screen (which you can only do when loading as a MainView object)
-Ryan |
|
|
|
Re: Form control issue
Posted: 30 Jan 08 10:36 AM
|
Thanks for the advice guys I've got it working. I thought I was just missing something obvious, but I'm glad to see that to switch from one form to another does require a bit of work and I didn't look too stupid!
I'm suprised this functionality wasnt made easier.
Thanks again and keep up the good work!
Lee |
|
|
|
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!
|
|
|
|
|
|
|
|