Click here to Skip to main content
15,888,286 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 2:35
Member 1260347326-Jun-16 2:35 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 2:41
mveRichard MacCutchan26-Jun-16 2:41 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 3:18
Member 1260347326-Jun-16 3:18 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 6:11
mveRichard MacCutchan26-Jun-16 6:11 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 14:07
Member 1260347326-Jun-16 14:07 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 20:41
mveRichard MacCutchan26-Jun-16 20:41 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347327-Jun-16 0:05
Member 1260347327-Jun-16 0:05 
QuestionFindcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 3:31
Mozartoz24-Jun-16 3:31 
Dear Sirs,

I got a UserControl called "Card"; on a page I will have up to a hundred Cards, named as Card0, Card1, etc. and I cannot access their properties or controls because Findcontrol does not work for Usercontrol.

BTW, here is my code:

VB
 ' the following three lines return NOTHING
Dim one_card as UserControl = FindControl("Card0")
Dim one_card as Card = FindControl("Card0")
Dim one_card as Control = FindControl("Card0")


I also tried Page.Findcontrol.

What am I doing wrong? Are there any workarounds? Thanks.
QuestionRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 4:09
mveCHill6024-Jun-16 4:09 
AnswerRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 4:17
Mozartoz24-Jun-16 4:17 
QuestionRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 5:00
mveCHill6024-Jun-16 5:00 
AnswerRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 5:12
Mozartoz24-Jun-16 5:12 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Eddy Vluggen24-Jun-16 10:02
professionalEddy Vluggen24-Jun-16 10:02 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 13:37
Mozartoz24-Jun-16 13:37 
GeneralRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 14:05
mveCHill6024-Jun-16 14:05 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 18:49
Mozartoz24-Jun-16 18:49 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 21:31
Mozartoz24-Jun-16 21:31 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Pete O'Hanlon27-Jun-16 0:57
mvePete O'Hanlon27-Jun-16 0:57 
QuestionDataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010423-Jun-16 20:10
Member 1209010423-Jun-16 20:10 
AnswerRe: DataGridViewCheckBoxColumn Checking Problem Pin
Richard MacCutchan23-Jun-16 22:25
mveRichard MacCutchan23-Jun-16 22:25 
AnswerRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6024-Jun-16 0:23
mveCHill6024-Jun-16 0:23 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010424-Jun-16 0:55
Member 1209010424-Jun-16 0:55 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6024-Jun-16 1:53
mveCHill6024-Jun-16 1:53 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010425-Jun-16 0:33
Member 1209010425-Jun-16 0:33 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6025-Jun-16 14:08
mveCHill6025-Jun-16 14:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.