Search found 89 matches

by boyddt_co
Thu Jul 17, 2014 8:59 am
Forum: PowerShell GUIs
Topic: Form Control Type
Replies: 2
Views: 2088

Re: Form Control Type

Thank you, that helped.
by boyddt_co
Wed Jul 16, 2014 9:26 am
Forum: PowerShell GUIs
Topic: Form Control Type
Replies: 2
Views: 2088

Form Control Type

I need to enumerate the controls on a form and disable some based on a users selection. I can do the enumeration and the disabling but what I'm struggling with is getting the type of control that I'm working with. Can someone provide the code that I would use to pull what type of control I'm accessi...
by boyddt_co
Tue Apr 15, 2014 11:22 pm
Forum: PowerShell GUIs
Topic: Changing font styles
Replies: 5
Views: 4405

Re: Changing font styles

You are the man, it worked like a champ!!!!

Thanx.
by boyddt_co
Tue Apr 15, 2014 11:14 pm
Forum: PowerShell GUIs
Topic: Changing font styles
Replies: 5
Views: 4405

Re: Changing font styles

It is for a label and I'll try your suggestion.

Thanx for the help
by boyddt_co
Tue Apr 15, 2014 8:45 pm
Forum: PowerShell GUIs
Topic: Changing font styles
Replies: 5
Views: 4405

Changing font styles

Ok, batter up! I have a form with multiple labels and on a click event I would like to set the font style to strikethrough / strikeout. Everything I've seen so far makes it seem as though this is a read-only value. Is there a way to do this? This is what I'm trying but it isn't happy $M1D1P1_Click={...
by boyddt_co
Thu Apr 03, 2014 8:02 pm
Forum: PowerShell Studio
Topic: Data Source for DataGrid
Replies: 1
Views: 2289

Data Source for DataGrid

I'm trying to go through and work with the DataGrid / DataGridView controls and when I drag them to the form I'm presented with a menu and the first option is "Choose Data Source", click the drop down and all I get is NOTHING. I've created a System DSN and I've added my database to the obj...
by boyddt_co
Thu Apr 03, 2014 7:19 pm
Forum: PowerShell GUIs
Topic: dynamically reference objects on form
Replies: 5
Views: 3631

Re: dynamically reference objects on form

Jvierra, thank you for the help. I'll play with it tonight. As far as thinking it through, I have a small brain so I got as far as I could. :lol:

Thanx again,

David
by boyddt_co
Thu Apr 03, 2014 2:53 pm
Forum: PowerShell GUIs
Topic: Change color in output to TextBox depending on error or not
Replies: 2
Views: 3476

Re: Change color in output to TextBox depending on error or

I'm running into the same issue and it appears that the text box sees all text as the same, more or less like Notepad. I'm still sorting things out but it looks like I'll be creating a large number of smaller text boxes so that I can manipulate the text individually based on current status.
by boyddt_co
Thu Apr 03, 2014 2:49 pm
Forum: PowerShell GUIs
Topic: Forms on the fly
Replies: 3
Views: 2499

Re: Forms on the fly

Ok, so the datagrid view is dynamic, is it interactive? What I would need to do is to allow an operator tap on a cell when the product goes into production. This would change the appearance to show that it is in process. A second tap would allow the operator to change the appearance again to denote ...
by boyddt_co
Thu Apr 03, 2014 2:47 pm
Forum: PowerShell GUIs
Topic: dynamically reference objects on form
Replies: 5
Views: 3631

Re: dynamically reference objects on form

Not exactly. I would still need to know the control names what I want to do is to build the control names from variables. Given your suggestion, and I believe that it might be the only option, I would need code like this $x = 1 $i = 2 switch ($x) { 1 { switch ($i) { 1{ $label = $form1.Controls('m1d1...