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 Link to comment Share on other sites More sharing options...
zanona Posted September 26, 2017 Author Share Posted September 26, 2017 . 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 ?! 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; 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. 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. Link to comment Share on other sites More sharing options...
ZigZig Posted September 27, 2017 Share Posted September 27, 2017 Double post Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now