vault backup: 2025-08-06 15:38:32
This commit is contained in:
@ -438,6 +438,10 @@ end.
|
||||
> 若想达到效果,当 `cbxusr_444` 枚举控件选择 `A` 的时候,`cbxusr_333` 枚举控件要更新成 `3`
|
||||
>
|
||||
> 那么使用 `cbxusr_333.itemindex := cbxusr_444.itemindex;` 是无法实现的,因为 `cbxusr_444` 枚举控件选择 `A` 的时候,`iteminde` 为 `0`,而 `cbxusr_333` 枚举控件的 `itemindex` 为 `0` 的时候,对应的是枚举 `3`
|
||||
>
|
||||
> 但是 `cbxusr_444.Text := cbxusr_333.Text;` 是可以实现的
|
||||
>
|
||||
> 因为 `cbxusr_333` 枚举控件选择 `3` 的时候,`cbxusr_333.Text` 获取到的就是 `3`,而将这个值赋值给 `cbxusr_444.Text` 后,实际上在数据库里 `cbxusr_444` 是存储
|
||||
|
||||
## 枚举项联动
|
||||
|
||||
|
Reference in New Issue
Block a user