
A Data Target allows a valuator widget such as a Slider or Text Field to be directly connected with a variable in the program. Whenever the valuator control changes, the variable connected through the data target is automatically updated; conversely, whenever the program changes a variable, all the connected valuator widgets will be updated to reflect this new value on the display. Data Targets also allow connecting Radio Buttons, Menu Commands, and so on to a variable. In this case, the new value of the connected variable is computed by substracting ID_OPTION from the message ID.


Associate with nothing.
| Argument | Type | Default | Description |
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with character variable.
| Argument | Type | Default | Description |
| value | String | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with unsigned character variable.
| Argument | Type | Default | Description |
| value | Int | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with signed short variable.
| Argument | Type | Default | Description |
| value | Int | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with unsigned short variable.
| Argument | Type | Default | Description |
| value | Int | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with int variable.
| Argument | Type | Default | Description |
| value | Int | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with unsigned int variable.
| Argument | Type | Default | Description |
| value | Int | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with float variable.
| Argument | Type | Default | Description |
| value | Float | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with double variable.
| Argument | Type | Default | Description |
| value | Float | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with string variable.
| Argument | Type | Default | Description |
| value | String | ||
| tgt | FXObject | None | |
| sel | Int | 0 |

Associate with unsigned character variable.
| Argument | Type | Default | Description |
| value | Int |

Set the message identifier for this data target.
| Argument | Type | Default | Description |
| sel | Int |