Templot Club Archive 2007-2020                             

topic: 3570Child forms
author remove search highlighting
 
posted: 9 Dec 2019 00:51

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Graeme wrote:
The second part - the switch info window - I will get to work on next.
Hi Graeme,

STOP!

There is no need to to anything on that. It is all working fine.

Perhaps I didn't explain properly that after removing  Windows.SetParent  and replacing it with

 // Windows.SetParent(data_child_form.Handle,pad_form.Handle);

   // 292...
 

 if data_child_form.Parent<>nil
    then data_child_form.Parent.RemoveControl(data_child_form);

 pad_form.InsertControl(data_child_form);

in all the applicable places, everything works fine as-is, and as in Delphi. Focus remains always with the parent.

There are I think 4 places needed as above + 1 place (in math_unit) for

 switch_select_form.InsertControl(data_child_form);
                                          
instead.

But you don't need to upload those changes yourself because I have done it in your files.

I will get on with making the same change for all the other child forms.

Just need time for some T2 stuff before doing much else (release notes for 225b).

cheers,

Martin.



about Templot Club

Templot Companion - User Guide - A-Z Index Templot Explained for beginners Please click: important information for new members and first-time visitors.
indexing link for search engines

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.
The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason. Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2020  

Powered by UltraBB - © 2009 Data 1 Systems