Yves Rossignol Member Licensed User Jan 1, 2017 #1 Can we make a label (and a textfield) disappear by code or subroutine ? I need to remove from a label and a textfield from a layout. Thank for your advice Yves
Can we make a label (and a textfield) disappear by code or subroutine ? I need to remove from a label and a textfield from a layout. Thank for your advice Yves
tufanv Expert Licensed User Longtime User Jan 1, 2017 #2 Yves Rossignol said: Can we make a label (and a textfield) disappear by code or subroutine ? I need to remove from a label and a textfield from a layout. Thank for your advice Yves Click to expand... You can use label.visible=false or tetxtfield.visible=false or you can completely remove by : label.RemoveViewFromParent Upvote 0
Yves Rossignol said: Can we make a label (and a textfield) disappear by code or subroutine ? I need to remove from a label and a textfield from a layout. Thank for your advice Yves Click to expand... You can use label.visible=false or tetxtfield.visible=false or you can completely remove by : label.RemoveViewFromParent
Yves Rossignol Member Licensed User Jan 1, 2017 #3 I see this option but I dont know why i cant use it when i hit the "." after the name of label.... Upvote 0
tufanv Expert Licensed User Longtime User Jan 1, 2017 #4 Yves Rossignol said: I see this option but I dont know why i cant use it when i hit the "." after the name of label.... Click to expand... if you created the label with deisgner , make sure you right click on the view in the designer click generate / dim label1 as label then you will be able to see it . Or if you are creating the label with code , make sure under globals you have dim label1 as label. Upvote 0
Yves Rossignol said: I see this option but I dont know why i cant use it when i hit the "." after the name of label.... Click to expand... if you created the label with deisgner , make sure you right click on the view in the designer click generate / dim label1 as label then you will be able to see it . Or if you are creating the label with code , make sure under globals you have dim label1 as label.
Yves Rossignol Member Licensed User Jan 1, 2017 #5 but now i have a stange error... missing end sub.... in singleW module Attachments weld 01 visible.zip weld 01 visible.zip 75.9 KB · Views: 446 Upvote 0
tufanv Expert Licensed User Longtime User Jan 1, 2017 #6 Yves Rossignol said: but now i have a stange error... missing end sub.... in singleW module Click to expand... Code: Copy If Main.choixW = 1 Then instead of this use this : Code: Copy If Main.choixW = 1 then Upvote 0
Yves Rossignol said: but now i have a stange error... missing end sub.... in singleW module Click to expand... Code: Copy If Main.choixW = 1 Then instead of this use this : Code: Copy If Main.choixW = 1 then