Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 8, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Set "Cannot Type Text" on combobox on datagrid dynamically
Leon Gort
Posts: 127
 
Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Apr 10 11:37 PM
I am building a datagrid dynamically as per the article below but I can't find how to change this option on the combobox column. I only want them to select one of the values in the list instead of being able to type in the cell.

http://www.slxdeveloper.com/devhome/page.aspx?id=35&articleid=6

Thx in advance
Leon
[Reply][Quote]
Leon Gort
Posts: 127
 
Re: Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 May 10 6:07 PM
Hi,
I'm still stuck on this unfortunately and wondering if anyone could point me in the right direction. I've looked at the SLX controls in Visual studio object browser and can't seem to find a corresponding property to set.

Thanks
Leon

Edit: I've found the property in Visual Studio called DataGridColumnPick.CannotTypeText() but how do I set this on a column?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 May 10 8:21 PM
First of all, DataGridColumnPick is not a Combo box, it is a Picklist.
If you set your Column Type to Picklist and then edit its properties, you will see a Checkbox with matching caption: "Cannot type text".

The Combo box is represented by the DataGridColumnCombo, and if you don't want the user to type text you need to set the DropDownListStyle property to true. I would suspect that this is the property that you are looking for.
[Reply][Quote]
Leon Gort
Posts: 127
 
Re: Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 10 6:15 PM
Thanks Raul - DropDownListStyle worked as you said. I was about to try use a picklist instead but would prefer the combo box so much appreciated.

For future reference - what is the numeric value to create a picklist? (TxDataGridColumnType)

Cheers and thx again
Leon
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 10 9:58 PM
For your reference, here are the values associated to the different Columns (on the TXDataGridColumnType enumeration):

Button - 2
Calculator - 9
Check - 4
Combo - 8
Currency - 13
Date - 3
Hyperlink - 11
Image - 5
Mask - 1
Memo - 14
Picklist - 15
Picture Blob - 10
Spin - 6
Standard - 0
Time - 12
[Reply][Quote]
Leon Gort
Posts: 127
 
Re: Set "Cannot Type Text" on combobox on datagrid dynamicallyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 10 10:18 PM
Awesome - thx The article was missing 15.

Leon
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/8/2025 4:48:37 AM