I have a number of text boxes and labels on my form that need to be updated based on some database queries. If I return a 1 and a 2 can I create a variable that would reference label $M1D2?
Such as
$x = 1
$i = 2
$Label = "M+$x+D+$i"
$Label.Text = "Finished"
Search found 89 matches
- Wed Apr 02, 2014 7:56 pm
- Forum: PowerShell GUIs
- Topic: dynamically reference objects on form
- Replies: 5
- Views: 3620
- Wed Apr 02, 2014 3:00 pm
- Forum: PowerShell GUIs
- Topic: Forms on the fly
- Replies: 3
- Views: 2488
Forms on the fly
I originally posted this in the PrimalForms forum an they directed me here. I have a project that I'm working on whose output is going to vary depending on the operator using it. Basically it is a table with 7 columns and x number of rows - with the rows being dependent on the number of machines in ...
- Wed Apr 02, 2014 2:44 pm
- Forum: PrimalForms
- Topic: Building Forms on the fly
- Replies: 2
- Views: 21644
Re: Building Forms on the fly
Will do, thanx.
- Wed Apr 02, 2014 1:03 pm
- Forum: PrimalForms
- Topic: Building Forms on the fly
- Replies: 2
- Views: 21644
Building Forms on the fly
I have a project that I'm working on whose output is going to vary depending on the operator using it. Basically it is a table with 7 columns and x number of rows - with the rows being dependent on the number of machines in a cell. The row count could be anywhere from 1 to 12. As I query data from S...
- Fri Dec 28, 2012 3:30 am
- Forum: PrimalForms
- Topic: Default formating for controls
- Replies: 5
- Views: 20885
Default formating for controls
Thanx for the info, I'll look into it.
- Wed Dec 26, 2012 4:18 am
- Forum: PrimalForms
- Topic: Default formating for controls
- Replies: 5
- Views: 20885
Default formating for controls
Thank you for the information. I already own PrimalScript and PrimalForms, what does PowerShell Studio have that the other two don't? Why should I buy another product?
- Wed Dec 26, 2012 3:14 am
- Forum: PrimalForms
- Topic: Default formating for controls
- Replies: 5
- Views: 20885
Default formating for controls
I am using PrimalForms to create scripts for our company. We have certain defaults that we'd like to use e.g. background colors, font color and type. Is there a way to set these as a default for all new forms?
- Thu May 10, 2012 4:59 am
- Forum: PrimalForms
- Topic: linklabel
- Replies: 2
- Views: 4802
linklabel
Thanx for the help
- Thu May 10, 2012 4:35 am
- Forum: PrimalForms
- Topic: linklabel
- Replies: 2
- Views: 4802
linklabel
where do I put the actual link information in for the linklabel control?David
- Thu May 10, 2012 4:11 am
- Forum: PrimalForms
- Topic: ComboBox hidden values
- Replies: 3
- Views: 3952
ComboBox hidden values
Leaving AD out of the equation for now, if I have the text string "Monument, OU=monument,DC=company,DC=local", can I display the first part and then pass the second part to the script? I've checked out the spotlight article but it wasn't very clear. Is DisplayMember a property of the contr...