Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 2025 
 
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 - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Open the blank window
alexUA
Posts: 23
 
Open the blank windowYour last visit to this thread was on 1/1/1970 12:00:00 AM
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!
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Open the blank windowYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 09 4:36 AM
What do you mean by 'blank'? Completely empty? Why would you do this?
[Reply][Quote]
alexUA
Posts: 23
 
Re: Open the blank windowYour last visit to this thread was on 1/1/1970 12:00:00 AM
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!!!!
[Reply][Quote]
alexUA
Posts: 23
 
Re: Open the blank windowYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Open the blank windowYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[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 © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/28/2025 4:06:22 PM