delphi - How can I deserialize properties which don't have an in built converter? -


This is a spin with my last question

Since Delphi has not changed the modelartsult properties, Therefore

  if special cass and then if other special cases and then behave normally  

/ Pre>

then I How do I change values ​​such as 1 in mrOk '?

Note: I am using

>
  PropInfo: = GetPropInfo (e.g., property name); Setpopwalls (Examples, Propinfo, Property Value);      

/ P>

">

There is no converter for the model result, Delphi represents the integer in DFM. The converter is registered

const modalResults: TIdentMapEntry = [[value: mrNone; name: 'mrNone'] array [0 ... 10], (value: mrOk; name: 'mrok '(MR: MRRTI; Name:' MRRTRI '), (Price: MERCANEL; Name:' MRCANCELL '), (Value: MRABERT; Name:' MRABERT '), (value: MRRTI; RICAR; Name: (value: MRIORO), (value: MRIES; name: 'MRIES'), (value: mrno; name: 'mRNO'), (value: MRAL; name: 'MRAL'), (value: mRNOOOLL ; Name: 'MrNoToAll', (Price: mrYesToAll; Name: 'mrYesToAll'); Function Model Resultoindent (ModelRealt: Longest; Very Identity: String): Boolean; Start Result: = IntToIdent (Model, Identity, Model Results ); Finished; Function Recognition Model Colorist (Kong Idea: String; var ModelRis D: LONGGINT): Boolean; Start the result: identification = identification (identity, model, model results); End; Initiation Register, Internet Consultants (Typinfo (TMOdralRilt), IDTOmodalal Resolt, ModalRastaltOidant);

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -