zanona Posted September 26, 2017 Share Posted September 26, 2017 How do I get a value that is in the frame and send to a form created as modal? In vcl I created a property and passed before calling showmmodal! But at unigui I did not see how! Thanks Zanona Quote Link to comment Share on other sites More sharing options...
zanona Posted September 26, 2017 Author Share Posted September 26, 2017 . Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 26, 2017 Share Posted September 26, 2017 Hi, Can you clarify your question once again please ?! Quote Link to comment Share on other sites More sharing options...
zanona Posted September 26, 2017 Author Share Posted September 26, 2017 In vcl I did so to pass values to another form. In unigui like I do considering that it automatically creates the form when calling the showmodal? EX: frmCxClose: = TfrmCxClose.Create (nil); try frmCxClose.IdCx: = 123; frmCxClose.ShowModal; finally freeandnil (frmCxClose) end; Quote Link to comment Share on other sites More sharing options...
belo Posted September 27, 2017 Share Posted September 27, 2017 Use global variables in the MainModule in the public section. Quote Link to comment Share on other sites More sharing options...
ZigZig Posted September 27, 2017 Share Posted September 27, 2017 Imho, avoid global variables and use properties instead. Quote Link to comment Share on other sites More sharing options...
ZigZig Posted September 27, 2017 Share Posted September 27, 2017 Double post 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.