Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-1999, 08:07 AM
N/A
Guest
 
Posts: n/a
Default Type problems

Here is my code.



UserVar1 : string;

ClPic : TOvcUserData;



I want to execute this statement:

ClPic.UserCharSet[pmUser1]:=UserVar1;



but TOvcUserData and String are not compatible tipes



Any idia? Please Help.

Thank you.
Reply With Quote
  #2  
Old 10-20-1999, 01:17 PM
N/A
Guest
 
Posts: n/a
Default RE: Type problems

Don't use a string..



The required value is a TCharSet



Ex: *(Direct from OVCDATA.PAS)

const

*IntegerCharSet: TCharSet = ['0'..'9', ' '];

*RealCharSet * : TCharSet = ['0'..'9', ' ', '-', '.'];




Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 09:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.