Einzelnen Beitrag anzeigen

Benutzerbild von JasonDX
JasonDX
(CodeLib-Manager)

Registriert seit: 5. Aug 2004
Ort: München
1.062 Beiträge
 
#2

Re: Bind variables with components

  Alt 29. Apr 2006, 19:14
Since Checked is a property, accessed by private Methods, you cannot use (Method-)Pointers for that, but the RTTI might help you:
Delphi-Quellcode:
uses
  {...} TypInfo;
//...
  if GetPropValue(YourCheckbox, 'Checked') then
    ShowMessage('Checkbox is Checked');
Note: Although Delphi itself is not, the RTTI-Stuff in the .NET-Version of the VCL is case-sensitive

greetz
Mike
Mike
Passion is no replacement for reason
  Mit Zitat antworten Zitat