Search found 820 matches

by TiKu
05 Jan 2017, 14:48
Forum: ComboListBoxControls
Topic: How to select entries in ListBox in SingleSelect Mode?
Replies: 9
Views: 11868

Re: How to select entries in ListBox in SingleSelect Mode?

You can do this:
Set LstU.SelectedItem = LstU.ListItems(5)

Doesn't it work?
by TiKu
05 Jan 2017, 11:14
Forum: ComboListBoxControls
Topic: How to select entries in ListBox in SingleSelect Mode?
Replies: 9
Views: 11868

Re: How to select entries in ListBox in SingleSelect Mode?

LstU.ListItems(5).Selected = False will work in multi-selection mode only.
by TiKu
02 Jan 2017, 13:09
Forum: ExplorerTreeView 2.x
Topic: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire
Replies: 4
Views: 15729

Re: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire

On Windows XP/2003 or if the application does not use Windows Themes, the control uses a workaround to detect state image changes. This workaround uses a timer and some fuzzy logic. I did not yet test it, but I can imagine that there are problems with this code. I did a test and this code seems to ...
by TiKu
01 Jan 2017, 23:43
Forum: ExplorerTreeView 2.x
Topic: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire
Replies: 4
Views: 15729

Re: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire

I've analyzed the code. There are a couple of things that could prevent firing the events: The ItemStateImageChanged event is raised only if the old and new state image are different. Subclassing the control could prevent firing the events, if it is done wrong. On Windows XP/2003 or if the applicati...
by TiKu
30 Dec 2016, 22:40
Forum: ExplorerTreeView 2.x
Topic: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire
Replies: 4
Views: 15729

Re: Ereignis ItemStateImageChanging feuert nicht / Event ItemStateImageChanging doesn't fire

Hi, Sorry, ich war ein paar Tage verreist. Ich werde mir das Problem trotz vorhandener Lösung dieser Tage anschauen. Spontan fällt mir kein Grund ein, warum die Events nicht gefeuert werden sollten. Grüße TiKu ------------ Hi, Sorry, I've been away for a couple of days. I'll have a look at this prob...
by TiKu
22 Aug 2016, 19:56
Forum: ButtonControls
Topic: Foreground Color not Doing Anything
Replies: 1
Views: 4169

Re: Foreground Color not Doing Anything

The native button control does not seem to support a custom forecolor. Therefore the ForeColor property affects owner-drawn button controls only. This is also stated in the online help: http://www.timosoft-software.de/onlinehelp/btnctls110/unicode/interface_btn_ctls_lib_u_1_1_i_command_button.html#a...
by TiKu
22 Aug 2016, 08:19
Forum: ComboListBoxControls
Topic: Combobox
Replies: 4
Views: 8175

Re: Combobox

I don't have a tool called the "form designer." In the standard VB6 IDE I can see properties for the ComboBox but I don't find anything related to "click events." See this screenshot: FormDesigner.png Also, I haven't figured out a way to pre-load items into the ComboBox at desig...
by TiKu
27 Feb 2016, 11:16
Forum: EditControls
Topic: Create Textbox dynamicly
Replies: 3
Views: 7521

Re: Create Textbox dynamicly

It still works for me if I put the code into a UserControl and change Form_Click to UserControl_Click and Me.Controls to UserControl.Controls. I can place the control onto a Form and when I click the control, a Textbox is added. Is your UserControl in a separate project? I did put it into the same p...
by TiKu
26 Feb 2016, 20:23
Forum: EditControls
Topic: Create Textbox dynamicly
Replies: 3
Views: 7521

Re: Create Textbox dynamicly

Hi, The following code works for me, if I go to the project settings and deactivate the option "Remove information about inactive ActiveX controls." Option Explicit Private WithEvents txtEdit As EditCtlsLibUCtl.TextBox Private Sub Form_Click() Set txtEdit = Me.Controls.Add("EditCtlsU....
by TiKu
03 Feb 2016, 19:14
Forum: EditControls
Topic: DisabledForeColor does not work
Replies: 1
Views: 4374

Re: DisabledForeColor does not work

Hi, The help file states that On current versions of Windows this property has no effect if the control is disabled. So currently it works for read-only controls only. I did choose the somewhat misleading name to follow existing naming conventions and because I hoped to make it work for disabled con...
by TiKu
28 Nov 2015, 02:11
Forum: EditControls
Topic: Get Wordwrap working
Replies: 2
Views: 5429

Re: Get Wordwrap working

Hi,

Setting MultiLine to True and AutoScrolling and ScrollBars properties both to 1 (Vertical) should be enough.

Regards
TiKu
by TiKu
26 Nov 2015, 07:56
Forum: EditControls
Topic: DisabledBackColor does not work
Replies: 3
Views: 6074

Re: DisabledBackColor does not work

Seems like FoxPro behaves quite different from VB6. Can you please send me a compiled test project that reproduces the problem, so that I can use it to try finding a fix?
by TiKu
24 Nov 2015, 19:17
Forum: LabelControls
Topic: BackColor and ForeColor do not work
Replies: 2
Views: 14601

Re: BackColor and ForeColor do not work

Which version of Windows are you using? Does your application use Windows themes, i.e. does it use a manifest?
It works for me on Windows 7.
by TiKu
24 Nov 2015, 19:16
Forum: EditControls
Topic: DisabledBackColor does not work
Replies: 3
Views: 6074

Re: DisabledBackColor does not work

Which version of Windows are you using? Does your application use Windows themes, i.e. does it use a manifest?
It works for me on Windows 7, but I don't have access to Visual FoxPro and can test with Visual Basic 6 only.
by TiKu
26 Oct 2015, 19:54
Forum: ExplorerListView
Topic: Custom list items in SubItemControl (sicDropList)
Replies: 5
Views: 9295

Re: Custom list items in SubItemControl (sicDropList)

Well, this whole feature is not documented by Microsoft. Of course they tell us to not implement IPropertyDescription.