And this is not the first time. So please be more careful when writing your responses to other people's questions. Your answers are appreciated though, but only when you can show some respect.
Do not forget: You can use the Frame control to "group" some controls to the group and use the .VISIBLE property of the frame to hide whole group of controls! it means, you can place the frame to the page, add all controls to the frame (place it inside the frame) and you can hide all controls through one command... ;-)
Comments
Currform.ControlName.Visible := (Whatever_the_condition_is = true)
to set individual controls to be visible or not (not Tab Pages)
But be aware that just because it isn't visible on the form doesn't mean the user can't use Ctrl+F8 (Zoom) to see the field values that way.
And this is not the first time. So please be more careful when writing your responses to other people's questions. Your answers are appreciated though, but only when you can show some respect.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.