Old Value

Forum to report bugs for SDStudio Design Environment
Post Reply
ctaty3
Registered User
Posts: 22
Joined: Tue Jan 23, 2018 9:24 am

Old Value

Post by ctaty3 »

After deleting the forms in the project and selecting function Window:ShowWindow, all old names remain in the Value field. And the form is not shown for some reason ...
Attachments
Скриншот 16-07-2018 090538.png
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

When you click to close button on top of the designer tabs , you actually closing/hiding them , not deleting
This is a feature of SDStudio , so when you have a lot of windows in the designer ,you can close unused or finished windows
and focus on the ones you are working on easily

When you close a window in the designer ,you can re-open it by double clicking to window name in the peoject pane
As you can see in your screenshot ,you have created

[Window1,Window2,Window3,Window4,Window5,Window6] and you have closed [Window1,Window2,Window3,Window4,Window6]

If you double click to Window1 in left project pane then ,you will see Window1 will come back

In order to delete a window you should use Windows tab in the Ribbon bar and Click to Delete button


Window:ShowWindow is used to show or hide an existing window, so window must be created before calling this function

To Create a window , you should use Window:CreateModal() to create a modal dialog ,and Window:CreateModeless() to create a gereric popup window (modeless), Note : the window you will create can not be a child window

You can also use Window:CreateChild() to create a child window which you designed in designer as the child of (same as controls) another top level window

A sample project will be provided for this in near future , to show how to create an manage windows in SDStudio
Post Reply