Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
windowState maximized has no effect
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: windowState maximized has no effect (Read 13380 times)
Stefan S.
Posts: 90
windowState maximized has no effect
«
on:
February 01, 2008, 11:15:24 am »
Hello List,
I try to start a Program always "maximized", but the entry in the *.4st File has no effect
4st file
.....
<Style name="Window.lutz">
<StyleAttribute name="windowState" value="maximized" />
<StyleAttribute name="windowType" value="modal" />
<StyleAttribute name="windowOptionMinimize" value="yes" />
<StyleAttribute name="windowOptionMaximize" value="yes" />
<StyleAttribute name="sizable" value="yes" />
<StyleAttribute name="actionPanelPosition" value="right" />
<StyleAttribute name="ringMenuPosition" value="top" />
<StyleAttribute name="ringMenuButtonSize" value="shrink" />
</Style>
.....
per file
----
database formonly
layout (windowstyle="lutz")
vbox
group (text=%"Arbeitsplatz-Übersicht")
table(style="zeile fett")
{
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
[f1 |f2 |f3 |ff |f4 |f5 |f6|f7]
}
end
end
......
in the 4gl file
..
call ui.Interface.loadStyles("LutzStyle.4st")
call ui.Interface.loadActionDefaults("LutzAD")
call startlog ("errorlog")
options prompt line last,
message line last,
form line first + 2,
input wrap,
insert key F17,
delete key F18,
next key F32,
previous key F31
open form f1 from "bde105_0_1"
display form f1
---------------------------------------------
when changing the values of actionPanelPosition f.e. that works fine.
Has anybodoy an idea whats worng with my files ???
Many thanks in advance
Stefan Serwe
Bernard M.
Posts: 45
Re: windowState maximized has no effect
«
Reply #1 on:
February 01, 2008, 02:49:01 pm »
Try with the forceDefaultSettings window style attibute set to 1:
<StyleAttribute name="forceDefaultSettings" value="1" />
This style attribute indicates GDC that the settings of the window won't be stored and next time you restart the application it will have the parameters you defined in the .per.
And be careful when using ui.Interface.loadStyles(). If you give a simple file name to this method it has to be without the 4st extension!
Best regards.
«
Last Edit: February 01, 2008, 02:52:26 pm
»
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...