Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Jabaco Source |
|
1 |
Command1.Enabled = False
|
Jabaco Source |
|
1 |
Text1.enabled = False
|
Disable the CommandButton works fine for me.when setting
Jabaco Source
1Command1.Enabled = False
the caption is not greyed out!
It just does not look right at runtime.
It is fine at designtime though.
Thanks for the info.Quoted
Jabaco Source
1Text1.enabled = False
does not seem to change anything.
It should be greyed out and locked!
Quoted
when setting
Jabaco Source
1Command1.Enabled = False
the caption is not greyed out!
It just does not look right at runtime.
It is fine at designtime though.
Is it wrong?is not a malfunction. It is the looks! In my LAF environment the disabled Command Botton changes to the disabled look BUT it's caption stays black (the 'enabled = True' appearence)!
Source code |
|
1 |
-Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel |
Source code |
|
1 |
-Dswing.systemlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel |
Source code |
|
1 |
-Dswing.systemlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel |
Source code |
|
1 |
Command1.ForeColor |
This post has been edited 1 times, last edit by "Dani" (Nov 20th 2011, 10:44pm)
It looks more like an "emboss-effect". So not only a changed color.it looks like grey is mixed with white in VB!
Jabaco Source |
|
1 2 |
Public Property Let ForeColor(v As Long) If v = -2147483630 Then Exit Sub |
Quoted
I have added a
Jabaco Source
1 2 Public Property Let ForeColor(v As Long) If v = -2147483630 Then Exit Sub
to my project but of course thats only my systems color...
Quoted
The default colors for every control is defined in the file Jabaco.xml in the Jabaco-directory.
Quoted
I would prefer, if Manual would add a System color called "Nothing" or "None", so that this happens, that no color will be set.
And I would prefer, if for all controls as default the "Nothing" or "None" would be set.
Hey there theuserbl,
Quoted
The default colors for every control is defined in the file Jabaco.xml in the Jabaco-directory.
that is a great tip I did not know. Thanks!
Quoted
Quoted
I would prefer, if Manual would add a System color called "Nothing" or "None", so that this happens, that no color will be set.
And I would prefer, if for all controls as default the "Nothing" or "None" would be set.
...exactly my thoughts! I started playing with that...
Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
Scroll Bars = &H80000000& = -2147483648 Desktop = &H80000001& = -2147483647 Active Title Bar = &H80000002& = -2147483646 Inactive Title Bar = &H80000003& = -2147483645 Menu Bar = &H80000004& = -2147483644 Window Background = &H80000005& = -2147483643 Window Frame = &H80000006& = -2147483642 Menu Text = &H80000007& = -2147483641 Window Text = &H80000008& = -2147483640 Active Title Bar Text = &H80000009& = -2147483639 Active Border = &H8000000A& = -2147483638 Inactive Border = &H8000000B& = -2147483637 Application Workspace = &H8000000C& = -2147483636 Highlight = &H8000000D& = -2147483635 Highlight Text = &H8000000E& = -2147483634 Button Face = &H8000000F& = -2147483633 Button Shadow = &H80000010& = -2147483632 Disabled Text = &H80000011& = -2147483631 Button Text = &H80000012& = -2147483630 Inactive Title Bar Text = &H80000013& = -2147483629 Button Highlight = &H80000014& = -2147483628 Button Dark Shadow = &H80000015& = -2147483627 Button Light Shadow = &H80000016& = -2147483626 ToolTip Text = &H80000017& = -2147483625 ToolTip = &H80000018& = -2147483624 |
Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Desktop = -2147483647 Title.Active.Backcolor = -2147483646 Title.Active.Forecolor = -2147483639 Title.Inactive.Backcolor = -2147483645 Title.Inactive.Forecolor = -2147483629 Window.Backcolor = -2147483643 Window.Forecolor = -2147483640 Window.Border = -2147483642 Control.Backcolor = -2147483633 Control.Forecolor = -2147483630 Control.Disabled = -2147483631 Border.Active = -2147483638 Border.Inactive = -2147483637 Shadow.Dark = -2147483627 Shadow.Light = -2147483626 Selection.Backcolor = -2147483635 Selection.Forecolor = -2147483634 Menu.Backcolor = -2147483644 Menu.ForeColor = -2147483641 Tooltip.Backcolor = -2147483624 Tooltip.Forecolor = -2147483625 |