Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Ge RadioButton.Attribute link error

Ge RadioButton.Attribute link error 8 years 11 months ago #7443

  • grindy
  • grindy's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 44
  • Karma: 0
Hi all
Little bug (I think) when I try to access RadioButton.Attribute with a bit of Int32 variable.
I link the variable using sintax Namevar.ActualValue##Bit#32[1]

In runtime generates the ** Link error for local object.

Edit: V5.2
Last Edit: 8 years 11 months ago by grindy.
The administrator has disabled public write access.

Ge RadioButton.Attribute link error 8 years 11 months ago #7444

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi grindy,

Only boolean attributes are supported for radiobuttons.

/Claes
The administrator has disabled public write access.

Ge RadioButton.Attribute link error 8 years 11 months ago #7446

  • grindy
  • grindy's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 44
  • Karma: 0
Hi Claes, thanks.
The format "##Bit#32[1]" indicates the value representation as boolean, is not right?
There's hard restriction to link ##Boolean variables?
The administrator has disabled public write access.

Ge RadioButton.Attribute link error 8 years 11 months ago #7450

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
##Boolean means that the attribute is of the Proview type Boolean which is a 32 bit word with value 1 or 0. ##Bit is of course also a boolean from a logical point of view but the mechanism to get the value is different as you have to mask out a bit in an integer word.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.138 seconds