Jump to content

Recommended Posts

Posted

Message from: "schweppes"

 

Hi,

 

how do i do this

with findComponent('B'+inttostr(counter)) as TUniButton do begin

 

works ok in vcl

 

Thanks

 

 

 

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________

 

The message was checked by ESET NOD32 Antivirus.

 

http://www.eset.com

 

 

 

 

.

 

Posted

Message from: "Farshad Mohajeri"

 

"schweppes" .

> Hi,

>

> how do i do this

> with findComponent('B'+inttostr(counter)) as TUniButton do begin

>

 

 

Please use explicit typecast as below:

 

TUniButton(findComponent('B'+inttostr(counter));

 

 

.

 

Posted

Message from: "schweppes"

 

Thank You, works 100%

 

"Farshad Mohajeri" wrote in message

news:fFrTOSJZLHA.1928@anaxagvs227...

>

> "schweppes" .

>> Hi,

>>

>> how do i do this

>> with findComponent('B'+inttostr(counter)) as TUniButton do begin

>>

>

>

> Please use explicit typecast as below:

>

> TUniButton(findComponent('B'+inttostr(counter));

>

>

> __________ Information from ESET NOD32 Antivirus, version of virus

> signature database 5505 (20101005) __________

>

> The message was checked by ESET NOD32 Antivirus.

>

> http://www.eset.com

>

>

>

 

 

 

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5505 (20101005) __________

 

The message was checked by ESET NOD32 Antivirus.

 

http://www.eset.com

 

 

 

 

.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...