No, there isn't one as the controls are laid out automatically.Does there also exist the Left property, I didn't see it in the MS documentation ?
There's a technical reason why a library can't have an indexed property that is both settable and gettable. The short reason is that the compiler/interpreter of your source code knows what to do when it comes across such code, but as a library is precompiled it needs a separate mechanism for each direction of access for your code to choose at runtime.tspComboBox.Item(2)="New item" .
I was thinking back to VB1 when I bagan using ComboBoxes and ListBoxes.I could do a SetItem(index) method but how often would you need it?
[FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]pen.New1([/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]cRed[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
[SIZE=2][FONT=Courier New]brush.New1([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]cRed[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
[SIZE=2][FONT=Courier New]tspCalcSum.New1([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]""[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
[SIZE=2][FONT=Courier New]obj1.Value = tspCalcSum.ControlRef[/FONT][/SIZE]
[SIZE=2][FONT=Courier New]obj1.SetProperty([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]"ImageTransparentColor"[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]cRed[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
[SIZE=2][FONT=Courier New]obj1.SetProperty2([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]"ImageTransparentColor"[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],brush.Value)[/SIZE][/FONT]
[/SIZE][/FONT]
I am afraid that I can't see the problem in the screenshot., I don't doubt you are correct, I just don't understand what to look for. Can you post some code so that I can see it properly?If you look at the image below you see that there remains a background color in the images in the buttons when they are selected or checked.
obj2.CreateNew("System.Drawing.Color" & obj2.System_Drawing)
obj1.SetProperty2("ImageTransparentColor",obj2.RunMethod2("FromArgb",cRed,"System.Int32"))
obj2.CreateNew("System.Drawing.Color" & obj2.System_Drawing)
col = RGB(255, 0, 0) ' cRed
obj1.SetProperty2("ImageTransparentColor",obj2.RunMethod2("FromArgb",col,"System.Int32"))
IMPORTANT - unlike Show on a normal Form, Run on a FormEx does not return until the application closes so any statements after a Run will only be executed at application close.
Obj1.New1(False)
Obj1.Value = Notifyicon1.ControlRef
Args.New1(4)
Args.SetValue(0, 10, "System.Int32")
Args.SetValue(1, "Title", "System.String")
Args.SetValue(2, "Text", "System.String")
' Icon can be "Error", "Info", "None" or "Warning"
Args.SetValue(3, "Warning", "System.Windows.Forms.ToolTipIcon" & Obj1.System_Windows_Forms)
Obj1.RunMethod4("ShowBalloonTip", Args.Value)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?