Page 1 of 1

maximizing message window

Posted: 18 Dec 2018 23:32
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)), ….
………….

Re: maximizing message window

Posted: 19 Dec 2018 0:31
by Frank
Sorry, Please disregard what I posted, finally I found the way. Thanks