Forum Post: RE: RM 2 Visual Cobol
Dear Sir, We usThere are several differences: 1. The size of the log with the previous definition (RM and COMP-6) occupies 133 bytes, while the current (VC and COMP-3) occupies 183 bytes. 2. The size...
View ArticleForum Post: RE: RM 2 Visual Cobol
Sorry Sir, We USE Linux for Development and we Use UNIX AIX for Deployment...And I sent others Differents..
View ArticleForum Post: RE: RM 2 Visual Cobol
Hi Pedro, If you are now using COMP-3 instead of COMP-6 then your fields will be larger. COMP-6 in RM is unsigned PACKED-DECIMAL and COMP-3 in VC is signed PACKED-DECIMAL so an extra byte of storage...
View ArticleForum Post: RE: Visual Cobol PE
You should never uninstall a product by cleaning out the registry. A simple uninstall from Control Panel should be enough. The registry may be in an inconsistent state now. If you look in Control...
View ArticleForum Post: Get Datagrid items with checkbox collumn selected.
Hello Currently I have a datagrid with 3 columns, ID - Name - Selected. The Selected column is a checkbox column. Im triying to fing a way to get all items in the datagrid with the Selected colum...
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
If you show me the C# code you use I will convert it to COBOL.
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
Something like this. Just typing out of my head im sure theres some erros. foreach(GridViewRow row in dgCaregories.Rows) { // Get the Checkbox cell value }
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
Something like this: perform varying row as type GridViewRow thru dgCategories::Rows * Get the Checkbox cell value end-perform This is documented in the language comparison chart here: Look at...
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
i get "System.Windows.Controls.DataGrid' has no member with name 'Rows' perform varying row as type System.Windows.Controls.DataGridRow thru dgCategory::Rows * Get the Checkbox cell value end-perform
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
DataGrid is based on ItemsControl, so use dgCategory::Items. Why are you not using Binding, which gives you all values in a simple collection with a condition-value for the checkbox?
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
I only converted your original C# example which must be for a Windows Forms dataGridView control instead of a WPF dataGrid control which is different. The WPF dataGrid control does not have a Rows...
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
Its WPF. I set the datagrid itemSource to the list of categories. Then add the column of checkboxes to select wich categories I want to pick. So far so good. The problem is that i cant find how to...
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
Here is an example which uses 2way binding on an observable collection. After the checks are done and a button is clicked it will read back thru the collection and display the checked items in a...
View ArticleWiki Page: How to set the default userID for remote reconnections in the...
Problem: How to change the default userID for remote reconnections in the Eclipse IDE. When creating a new remote connection the userID field in the Eclipse IDE will be populated with the currently...
View ArticleForum Post: RE: Get Datagrid items with checkbox collumn selected.
Thanks ! and sorry for not being clear.
View ArticleForum Post: RE: How make a text with variables
Something like this: 01 mytext string value "This is booking: @numres for checkin on @dateent and checkout on @datsai". 01 resnum pic 9(4) value 2748. 01 checkin pic x(10)...
View ArticleForum Post: RE: How make a text with variables
Hi, Again a clear shot, It works perfectly. Thank you very much. Best Regards Alberto Ferraz
View ArticleForum Post: RE: How make a text with variables
Another approach is to use the String::Format method with replacement variable numbers instead. working-storage section. 01 mytext string value"This is booking: {0} checkin on {1} and checkout on...
View ArticleForum Post: RE: How make a text with variables
Thank you. It also works well. Now I see what the best option will be.
View ArticleForum Post: native COBOL calling object
Hi, Using Miicro Focus native COBOL in Visual Studio, I want to call an object, but I don't know how to reference it (it has been registered). in Visual Studio. Very similar to what I did, with much...
View Article