8/28/2025 3:27:10 PM
|
|
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.
|
|
|
|
Open the blank window
Posted: 02 Apr 09 8:19 AM
|
I need to open the blank window from button click. I have such code:
Sub Button1Click(Sender)
...... What do I have to write at that block to open blank window???
End Sub
Very glad for your help! |
|
|
| |
|
Re: Open the blank window
Posted: 03 Apr 09 7:05 AM
|
Hi! I decided to do my task step by step. In general I need to open new form in new window with 4 EditBoxes and 2 Buttons. But I dont know how to open new window over main form and how can I pass parametrs to this form.
I will be very thank for good EXAMPLE!!!! |
|
|
|
Re: Open the blank window
Posted: 03 Apr 09 8:38 AM
|
I have understood how to open new window and form in it. But I dont know how can I pass parametrs to another form????
Maybe it Aplication.Forms... ???? glad to your help!
Sub Button1Click(Sender) Dim sFormResult sFormResult = TVS_ShowForm("Personal:AddEditTarif","Edit tarif",270,614,3) End Sub
Function TVS_ShowForm(byval strForm,byval strCaption, byval intHeight, byval intWidth, byval intBorderStyle) Dim objView
TVS_ShowForm = False
Set objView = Application.MainViews.Add(strForm, 0, False) objView.Caption = strCaption objView.Height = intHeight objView.Width = intWidth objView.BorderStyle = intBorderStyle
if objView.ShowModal = mrOk then TVS_ShowForm = true else TVS_ShowForm = false end if
set objView = Nothing End Function |
|
|
|
Re: Open the blank window
Posted: 03 Apr 09 8:41 AM
|
Can you just use a single form containing a tab control - your program logic shows/hides tabs as required and the problem of passing parameters goes away? |
|
|
|
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!
|
|
|
|
|
|
|
|