Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Use Memo In Grid EditBox Without MEMO Label
Message
 
À
25/04/2000 09:37:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362939
Message ID:
00363205
Vues:
15
I tell you Cetin, you're good!

The ActiveX thing didn't work out, I still got blanks on all rows without the focus and (Microsoft Support says it can't be done).

However your >this.myColumn.CurrentControl = "myEditbox" in a Dynamic* property worked just fine on the framework memo in grid problem.

Thanks,
-Curtis



>James,
>Take a look at yesterday's (or the other day - I'm not sure) messages. I can't remember the title but it was about showing BMP, JPG, GIF in a grid. trick is to use a Dynamic* property.
>When a framework kicks in things might change. In init of grid might try to add code :
>
local lRetVal
>lRetVal = dodefault()
>this.myColumn.CurrentControl = "myEditbox"
>this.myColumn.Sparse = .F.
>return lRetVAl
Cetin
>
>>Hi Cetin:
>>
>>I'm finding out the problem is a framework we are using. When I use native VFP 6.0 no problem.
>>
>>Have you got any insight on using an ActiveX RTF editor in a grid as a control source for a memo field. Even in native FP I can only get the row with the focus to show text.
>>
>>Thanks,
>>Curtis
>>
>>>Hi James,
>>>Are you sure CurrentControl is Editbox. Is it a cursor or table. If a cursor what's the original Recordsource and Recordsourcetype settings ? And is it a base class grid or subclassed ?
>>>Cetin
>>>
>>>
>>>>Hi David,
>>>>
>>>>Well I hadn't, but I did and still no luck.
>>>>
>>>>
>>>>>James,
>>>>>
>>>>>Did you delete the Text1 control from the column?
>>>>>
>>>>>>I want to use a memo field in a grid displayed in an editbox and I want to see at least the first line of text for every record displayed in the grid.
>>>>>>
>>>>>>When I run the form, only the record that has the focus displays text. The other grid rows display "MEMO"
>>>>>>
>>>>>>I have the column CurrentControl set to the editbox; I have the Column and Editbox controlsource set to the memo field; I have the column sparse property set to false; I have the grid rowheight set high enough to show two lines of code.
>>>>>>
>>>>>>What else is there to know?
>>>>>>
>>>>>>Thanks in advance for your help
- jim durkin

"The universe is a big place, perhaps the biggest." Kurt Vonnegut
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform