Happy 2018 to everyone.
Does anyone know how to:
1- Change the font size of the Project TaskMenu items such as, File, Help, etc.
2- Is it possible to maximize the size of a dialog box when it is initially cterated, e.g. by calling some predicates (wsf_Maximized) that is used for Windows?
Best regards,
Frank
			
			
									
									
						- 
				Harrison Pratt
 - VIP Member
 - Posts: 463
 - Joined: 5 Nov 2000 0:01
 
Re: Changing TaskMenu font size
1.  I think you are locked-in to the global Windows font for Task Window menus.
2. To maximize a dialog, do the following in the Dialog Expert:
Set the Dialog Properties:
MaximizeBox: True
MinimizeBox: True
SizeBorder: True
Create a Dialog Event handler:
ShowListener: on Show
Add code like the following to have the dialog maximize automatically:
			
			
									
									
						2. To maximize a dialog, do the following in the Dialog Expert:
Set the Dialog Properties:
MaximizeBox: True
MinimizeBox: True
SizeBorder: True
Create a Dialog Event handler:
ShowListener: on Show
Add code like the following to have the dialog maximize automatically:
Code: Select all
predicates
    onShow : window::showListener.
clauses
    onShow(_Source, _Data):-
        setState( [wsf_Maximized] ).   % 2017-12-30 testing dialog resize- 
				Frank
 - Posts: 22
 - Joined: 23 Nov 2014 20:41
 
Re: Changing TaskMenu font size
Thanks so much  Harrison, I will try it.
			
			
									
									
						- 
				Frank
 - Posts: 22
 - Joined: 23 Nov 2014 20:41
 
Re: Changing TaskMenu font size
Thanks again, I followed your clear instructions- it worked!!!!
			
			
									
									
						