I don't know because you haven't given enough information as to what you are doing or what the error is!why?
I don't know because you haven't given enough information as to what you are doing or what the error is!why?
checkboxex1.new(formex.controlref,0,0,100,100)
doorex.new1(b4pobject(2))
door.new1(false)
doorex.fromstring("main.checkboxex1")
door.value=doorex.value
door.setproperty("Tag","test")
door.fromcontrol(checkboxex1.controlref)
door.setproperty("Tag","test")
doorex.fromstring("main.checkboxex1")
door.value=doorex.value
[COLOR="Red"]door.Value = Obj1.GetProperty("ControlRef")[/COLOR]
door.setproperty("Tag","test")
Maybe but not about this which is expected behaviour.i'm crazy?
I can't see any way to alter a ToolStripButtons' style.About the button issue...any thoughts????
Try setting the Font property with the Door library. You can get a Font from FontDialog in the latest RichTextDesktop, from NormalFont in ImageLibEx or from Font in GdiPlusDesktop.is it possible to change the font for the toolstrip elements?
They are read-only properties at the moment. If there is another version issued I will make them writeable.I tryed with the ClientAreaWidth and ClientAreaHeight
As far as I know you can't. If the Taskbar is shown then maximising a FormEx (or any other application) takes it into account automatically. I have my Taskbar set to AutoHide anyway to maximise the screen area - a habit from the days of lower resolution screens!How can I resize my form to be the available screen size (height) and be Taskbar aware?
I am only reading its value, to no effect!They are read-only properties at the moment.
That is my problem, I set windowSate to maximized (value 2), and the form it self is sized to the hole screen as if the taskbar was not visible so the botton 100 pixel or so in height are hidden by the taskbar!!!As far as I know you can't. If the Taskbar is shown then maximising a FormEx (or any other application) takes it into account automatically. I have my Taskbar set to AutoHide anyway to maximise the screen area - a habit from the days of lower resolution screens!
To what no effect? They return the correct values for me.I am only reading its value, to no effect!
I've just tested this and it works as I expect, at least on Vista. With the Taskbar Autothidden the form maximises to fill the screen and if I specify a form size larger than the screen it initially displays with Height and Width adjusted to fit the full screen. With the Taskbar permanently visible it maximises the form to fill the screen area above the Taskbar and if I specify a form size larger than the screen it initially displays with Height and Width adjusted to fill the screen area above the Taskbar.I set windowSate to maximized (value 2), and the form itself is sized to the hole screen as if the taskbar was not visible so the botton 100 pixel or so in height are hidden by the taskbar
I'm not disputting that, I'm just saying that to me they don't...To what no effect? They return the correct values for me.
I've just tested this and it works as I expect, at least on Vista. With the Taskbar Autothidden the form maximises to fill the screen and if I specify a form size larger than the screen it initially displays with Height and Width adjusted to fit the full screen. With the Taskbar permanently visible it maximises the form to fill the screen area above the Taskbar and if I specify a form size larger than the screen it initially displays with Height and Width adjusted to fill the screen area above the Taskbar.
Whatever it is doing is the default behaviour for a Windows Form. A FormEx does nothing to alter this.
They don't what? You haven't told me what they are returning for you, if anything, and what is wrong with itI'm just saying that to me they don't...
MainForm.MaximumHeight = MainForm.ClientAreaHeight
MainForm.MaximumWidth = MainForm.ClientAreaWidth
Sorry Andrew, I feel to have been wasting your time, and I know how much you deslike that...They don't what? You haven't told me what they are returning for you, if anything, and what is wrong with it
Again I am sorry to be such a pain in the royal..I am away for a few days visiting family around the country however by coincidence I do happen have all the B4ppc stuff on my laptop.
Just part of my attempts to work things out...In your demo you can't really tell where the bottom of the form is when maximised so I put a Statusbar from ControlsExDesktop on it. My laptop runs XP and just like on Vista on my desktop it all works as I expect. However I don't understand what these two lines are meant to do.
You appear to be resticting the total size of a Form, including border sizes which can vary from system to system) to the area on which controls are drawn which is inveivtably smaller than the current size of the form!B4X:MainForm.MaximumHeight = MainForm.ClientAreaHeight MainForm.MaximumWidth = MainForm.ClientAreaWidth
That display size is non-standard and I wonder if there is possibly a display driver problem here. In any case I don't think that there is anything you can do to alter the behaviour. With a FormEx you get the default behaviour of any normal Windows Form for your system.