![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi Andrew...
first of all, congragtulation on bringing these two dlls on step further... " to infinity and beyond...".... I have a doubt... I satrted a project adn added the controlsExDesktop, and its two main Objects... here's the partial code, wich reproduces my issue... Code:
Xform.New2("Main","EMK v0.1",600,480)
XForm.HasControlBox=True
Xform.HasMaximizeBox=True
XForm.HasMinimizeBox=True
XForm.MaximumHeight=480 'If commented out these two lines, the form displays normally
XForm.MaximumWidth=600 ''If commented out these two lines, the form displays normally
XForm.WindowState=1
So in order to make the form appear as I want, must I again, set the width and heigth of the form????? Why???
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing Last edited by Cableguy : 09-22-2008 at 11:00 PM. Reason: very bad eglish, worse than usual... |
|
||||
|
Hi Andrew,
I have another question about the ControlExLib library. In the joined program I want to set the with of the ToolStripComboBoxes and the ToolStripTextBox. I tried several things with the Door library but with no success. I can modify the DropDownHeight Prorety but not the Width properties. I tried to change the Anchor and Dock properties to the width changed but nothing happens. I can get the Width value but not set it. What am I missing ? Thank's in advance for your help.
__________________
Klaus Switzerland |
|
||||
|
Code:
obj1.Value = tspSelect2.ControlRef
obj1.SetProperty("ToolTipText", "Select superpos")
obj1.SetProperty("AutoSize", False)
obj1.SetProperty("Width", 60)
|
|
||||
|
Hi Andrew,
I am continuing to use the ControlEx Library. I am also using ToolStripComboBoxes. It would be interesting to have: - the Clear method - the Item paramter This would make a whole reinitialization and the replacement of the text of one item much easier, like in standard ComboBoxes. It is probably possible with the Door library (I don't know how), but if these two functionalities were directly accessible it would be easier. Best regards.
__________________
Klaus Switzerland |
|
||||
|
Hi Andrew,
To clear the ToolStripComboBox I tried to use the RemoveItem method for I know the number of items. But it seems that RemoveItem(n) doesn't do anything. Code atached, only the program, the rest is the same as in post #14. Thank you in advace for your help and Best Regards. EDIT: I saw in between that to remove an item there must be the text of the item in RemoveItem, I was thinking of the index of the item, as in RemoveAt for the standard ComboBox that, for me, would be more convenient.
__________________
Klaus Switzerland Last edited by klaus : 11-01-2008 at 03:49 PM. |
|
||||
|
It's the item itself you need to specify, not its index
"tspSelect1.RemoveItem(tspSelect1.Text)" I will do a new revision of ControlsExDesktop with the ToolTips for all the ToolStrip controls and Clear, Count, Item and RemoveAt(index) for theComboBox and Clear, Count and RemoveAt(index) for the DropDownButton. Anything else you can think of? |
|
||||
|
That's pretty good news.
I think that the Insert method could be intersting too. Does there also exist the Left property, I didn't see it in the MS documentation ? Would be intersting for alignment with AutoSize = False Best regards.
__________________
Klaus Switzerland |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ControlsExDesktop library | agraham | Additional Libraries | 2 | 09-18-2008 09:54 AM |
| storage of libraries in WM | moster67 | Questions & Help Needed | 2 | 08-10-2008 10:09 AM |
| Updated libraries since Basic4ppc V6.50 | Erel | Official Updates | 0 | 06-17-2008 06:15 AM |
| FTP libraries | craigisaacs | Questions & Help Needed | 1 | 12-20-2007 06:14 AM |
| ControlsExDesktop library suggestions please | agraham | Additional Libraries | 0 | 11-17-2007 09:34 PM |