delagoutte Posted March 8, 2018 Share Posted March 8, 2018 I want open a form in a new tab/window and work with this like if i open it in the main tab ? is it posible ? how ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 8, 2018 Share Posted March 8, 2018 Hi, Sorry, can you clarify your question ? Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 8, 2018 Author Share Posted March 8, 2018 example : i have my main app with an interface. i click on a button. in normal app, when i click on this button it is open a new form on same browser window. i would like to know if it is possible that this new form could be open in a new browser window or tab. If yes : when i close this new window could i have a callback method that was call var aNewForm : TFormUniGui; begin aNewForm := TFormUniGui.Create(UniApplication); aNewForm.ShowModal( // i would like that this form was opened on a new browser window/tab procedure (Sender: TComponent; AResult:Integer) begin showmessage('window/tab is closed'); end); Quote Link to comment Share on other sites More sharing options...
mehamada Posted March 8, 2018 Share Posted March 8, 2018 example : i have my main app with an interface. i click on a button. in normal app, when i click on this button it is open a new form on same browser window. i would like to know if it is possible that this new form could be open in a new browser window or tab. If yes : when i close this new window could i have a callback method that was call var aNewForm : TFormUniGui; begin aNewForm := TFormUniGui.Create(UniApplication); aNewForm.ShowModal( // i would like that this form was opened on a new browser window/tab procedure (Sender: TComponent; AResult:Integer) begin showmessage('window/tab is closed'); end); do you mean to open form in another parent (like pagecontrol?) look at this link http://forums.unigui.com/index.php?/topic/9604-open-form-in-a-pagecontrol/?hl=pagecontrol Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 8, 2018 Share Posted March 8, 2018 See these demos: \FMSoft\Framework\uniGUI\Demos\Desktop\HTTP Post Callback - Browser Window \FMSoft\Framework\uniGUI\Demos\Desktop\HTTP Post Callback - ... Quote Link to comment Share on other sites More sharing options...
delagoutte Posted March 9, 2018 Author Share Posted March 9, 2018 Thanks, it is not exactly what i need but i think i could have a solution with this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.