Discussions related to Visual Prolog
Frank
Posts: 22
Joined: 23 Nov 2014 20:41

maximizing message window

Unread post by Frank »

I have the following code which maximizes the task Window during creation and sets the font for the message window. I would appreciate if you let me know what statement should I add to this clause to maximize the message Window(form)clauses too during the creation. I tried adding wsf_maximized expression after setFont, but I get syntax error. Thanks for your help.

onShow(_, _CreationData):-
This:setState([wsf_maximized]),
    MessageForm = messageForm::display(This),
        MC = MessageForm:getMessageControl(),
        MC:setFont(vpi::fontCreateByName("Tahoma", 12)), ….
………….
Frank
Posts: 22
Joined: 23 Nov 2014 20:41

Re: maximizing message window

Unread post by Frank »

Sorry, Please disregard what I posted, finally I found the way. Thanks
Post Reply