.netfactory - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: .netfactory (/Thread-netfactory) |
.netfactory - punjprakash - 11-17-2010 Hi all, I want to write some instructions within the form,I can create form and radiobutton,textboxes but how to write my instructions? Code: Set MainForm = DotNetFactory.CreateInstance("System.Windows.Forms.Form", "System.Windows.Forms") what about writing inthe form itself? RE: .netfactory - Saket - 11-17-2010 You will have to use Label class for that. In the example below- you will find the use of Label to add the instructions to a Form Code: Set MyForm = DotNetFactory.CreateInstance("System.Windows.Forms.Form", "System.Windows.Forms") hope that helps. |