Re: Get all controls on Form?
From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 04/13/04
- Next message: Palli: "Get font and color from RichTextBox"
- Previous message: Claes Bergefall: "Re: Implementation Parent property in TreeNode class"
- In reply to: msnews.microsoft.com: "Get all controls on Form?"
- Messages sorted by: [ date ] [ thread ]
Date: 13 Apr 2004 11:27:53 +0200
* "msnews.microsoft.com" <phunv@yahoo.com> scripsit:
> I want to get all the controls (TextBox, Label, ComboBox,..) on a form,
> however the Form.Controls collection only contain those put directly on form
> but not those in GroupBox controls or TabControl,...
> I dont' want to go through Controls collection of all those Container
> controls to get the controls i wanted.
You will have to do that.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
- Next message: Palli: "Get font and color from RichTextBox"
- Previous message: Claes Bergefall: "Re: Implementation Parent property in TreeNode class"
- In reply to: msnews.microsoft.com: "Get all controls on Form?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|