Can I Open a form in pop up mode and not maximized? Thanks[:(!]
Hi clembo, little modification in properties : OBJECT Form 50160 TEST { OBJECT-PROPERTIES { Datum=24.10.03; Zeit=11:58:40; Ge„ndert=Ja; Versions Liste=nolug; } PROPERTIES { Width=6820; Height=2970; Minimizable=Nein; Maximizable=Nein; Sizeable=Nein; MinimizedOnOpen=Nein; MaximizedOnOpen=Nein; AutoPosition=CenterScreen; SavePosAndSize=Nein; LookupMode=Ja; } CONTROLS { { 1 ;TextBox ;4840 ;880 ;1650 ;440 ;SourceExpr=UserName } { 2 ;Label ;1430 ;880 ;3300 ;440 ;ParentControl=1 } { 3 ;TextBox ;4840 ;1540 ;1650 ;440 ;SourceExpr=UserPWD } { 4 ;Label ;1430 ;1540 ;3300 ;440 ;ParentControl=3 } { 7 ;CommandButton;4290 ;2200 ;2200 ;550 ;PushAction=LookupOK } { 8 ;CommandButton;1870 ;2200 ;2200 ;550 ;PushAction=LookupCancel } } CODE { VAR UserName : Text[30]; UserPWD : Text[30]; PROCEDURE GetParam@1(VAR paraName : Text[30];VAR paraPWD : Text[30]); BEGIN paraName := UserName; paraPWD := UserPWD; END; BEGIN END. } } OBJECT Codeunit 50042 TEST { OBJECT-PROPERTIES { Datum=23.10.03; Zeit=17:52:54; Ge„ndert=Ja; Versions Liste=nolug; } PROPERTIES { OnRun=BEGIN IF UserCheck.RUNMODAL=ACTION::LookupOK THEN BEGIN; UserCheck.GetParam(Name,PWD); MESSAGE('%1 %2',Name,PWD); END ELSE BEGIN ERROR('No Valid input'); END; END; } CODE { VAR UserCheck : Form 50160; Name : Text[30]; PWD : Text[30]; BEGIN END. } }
.
Hi Hans, you are my HELP ONLINE!!!
But there is still a problem : If the user run the windows of navision in fullsize, then the form appears in fillsize too. I can’t solve this problem perhaps it is only a problem in Navision 2.01 ???
quote:
Originally posted by h-d.neuenfeldt
… But there is still a problem : If the user run the windows of navision in fullsize, then the form appears in fillsize too. I can’t solve this problem perhaps it is only a problem in Navision 2.01 ???
In 3.01 you can set the width/height and Maximizable= No. So you get a nice popup- form. (No matter if the user works in fullscreen- modus.) bye André
That means, that the source above will work in 3.01 ???
quote:
Originally posted by h-d.neuenfeldt
That means, that the source above will work in 3.01 ???
YEP. I have several similar forms working as popup (not maximizable). The only thing is if the user works in fullscreen the sytem changes the view in window mode. And - it isn’t really a popup. The user is able to do other things if he selects the Navision - backround. bye André
quote:
Originally posted by Andre DDB
quote:
Originally posted by h-d.neuenfeldt
That means, that the source above will work in 3.01 ???
YEP. I have several similar forms working as popup (not maximizable). The only thing is if the user works in fullscreen the sytem changes the view in window mode. And - it isn’t really a popup. The user is able to do other things if he selects the Navision - backround. EDIT: If you really want such a popup you need two forms. The first one with a fullsreen size (not maximized!) and the second one as popup form in RunModal- mode. But the user still has a chance to do other things with F12 to get the main menu. bye André