Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate characters with nodefault / dodefault()
Message
From
19/09/2008 13:59:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348911
Message ID:
01349052
Views:
15
You're welcome!

>Thanks, Tore, that got it.
>
>Al
>
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>
>>IF nKeyCode = 27 && Escape Key causes problem in control source of grid.
>>      NODEFAULT
>>ENDIF
>>
>>DO CASE
>>      CASE nKeyCode = 9
>>            Nodefault
>>            This.Parent.Width = 0
>>            This.Parent.Parent.grcProduct.Width = 244
>>            DODEFAULT(nKeyCode, nShiftAltCtrl)
>>
>>      CASE nKeyCode = 15
>>            Nodefault
>>            This.Parent.Width = 0
>>            This.Parent.Parent.grcDiscription.Width = 244
>>            DODEFAULT(nKeyCode, nShiftAltCtrl)
>>ENDCASE
>>
>>
>>>tab and shift-tab toggle product and description in the same space correctly.
>>>In the description field I get duplicate characters.
>>>I get for "cat" - ccaatt, if I take out the dodefault() I get nothing - what am I forgetting?
>>>=================================
>>>
>>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>>
>>>IF nKeyCode = 27 && Escape Key causes problem in control source of grid.
>>>      NODEFAULT
>>>ENDIF
>>>
>>>DO CASE
>>>      CASE nKeyCode = 9
>>>            This.Parent.Width = 0
>>>            This.Parent.Parent.grcProduct.Width = 244
>>>
>>>      CASE nKeyCode = 15
>>>            This.Parent.Width = 0
>>>            This.Parent.Parent.grcDiscription.Width = 244
>>>
>>>ENDCASE
>>>
>>>DODEFAULT(nKeyCode, nShiftAltCtrl)
>>>
>>>
>>>
>>>tia
Previous
Reply
Map
View

Click here to load this message in the networking platform