We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2 weeks ago
Hello,
I've created custom MVO with one checkbox. It shows only category title but not the checkbox until I disable it and enable again.
Any idea why it happen?
Windows 11
Archicad 28 POL
Solved! Go to Solution.
2 weeks ago
There is one easy fix: Double the last line and replace the "0" with a "1".
Since there is no actual command for a checkbox (it's just a subtype set with the "7") the UI_INFIELD command is very broad in it's definition. Just remembert this: You need to explicitly mention every state the UI thingy can take. Even it is just a checkbox with literally two states.
2 weeks ago
Is it the size of the checkbox?
Is it overlapping the text?
In the interface preview, hit the 'Check' button to see if there are any overlaps.
Barry.
2 weeks ago
There is my code. I don't see any overlaps, but it's my first project with interface so I can miss something.
! ------------------------------------------------------------
! set basic variables
! ------------------------------------------------------------
_yCurr = 5
_dy = 25 ! generic line spacing
_totalWidth = 600 ! fixed value to match the exisiting panels
_totalHeight = 4* _dy ! calculate the height from line spacing
_stDialogTitle = `Janowicz Architekci`
! ------------------------------------------------------------
! set title and height for the custom MVO panel
! ------------------------------------------------------------
ui_dialog _stDialogTitle, _totalWidth, _totalHeight
! ------------------------------------------------------------
! content
! ------------------------------------------------------------
ui_style 0, 1
ui_outfield `Widoczność elementów`, 0, _yCurr, 150, 15
ui_style 0, 0
ui_infield{4} "JA_show_c_z_w", 0, _dy, 200, 19,
7, "",
0,
0, 0, 0,
0, 0,
"", "Pokaż wyposażenie sanitarne", 0
2 weeks ago
There is one easy fix: Double the last line and replace the "0" with a "1".
Since there is no actual command for a checkbox (it's just a subtype set with the "7") the UI_INFIELD command is very broad in it's definition. Just remembert this: You need to explicitly mention every state the UI thingy can take. Even it is just a checkbox with literally two states.
2 weeks ago
It's works! Thank You