Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox When( ) Method Ignored (Sort of)
Message
From
02/01/2003 09:15:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
31/12/2002 10:44:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00736938
Message ID:
00737296
Views:
24
>Cetin -
>
>I have posted the form on our website:
>
>http://www.cdsbytes.com/examples/test.zip
>
>
>Please try this form.
>
>- George

George,
Yes replicated with that one. Mine had another control that could get focus. It might be worked around in many ways for example by placing a 'shield' shape in front. ie:
*Combo.init
*...
With This.Parent
  .AddObject(This.Name+'_Shield','Shape')
  With Evaluate("."+This.Name+'_Shield')
    .BorderStyle = 0
    .BackStyle = 0
    .Top = This.Top
    .Left = This.Left
    .Width = This.Width
    .Height = This.Height
    .ZOrder()
  Endwith
Endwith

*Combo.when
LOCAL llRetVal
llRetVal = .F.
WITH EVALUATE("this.Parent."+this.name+'_Shield')
 .Visible = !llRetVal
endwith
RETURN llRetVal
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform