Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: Column sort ina a data grid

Hello, In dataGrid with numeric fields (e.g., customer code) when I SORT column is all sorted alphabetically, that is, the 161 appears after 1161 (for example). Is there a way to order the same code?...

View Article


Forum Post: Select the first line in a data grid

Hello, I'm still the problem of a DataGrid can not select the first line. I have to select another any first and then can select the first. What is the solution? Thanks Alberto Ferraz

View Article


Forum Post: Prevent window closing

Hello, Is there any way to prevent the window from closing use in the upper right CROSS? There are some situations where I need to control the program output mode and not allow the window to be closed...

View Article

Forum Post: Pass from XAML for XAML.CBL and vice versa

Hello, I have a screen with four functionalities (eg create   TABLES databases, CUSTOMERS, BILLING AND RESERVATIONS).  The idea is the following: when the user press OK it moves to PROGRAM.CBL.   Each...

View Article

Forum Post: RE: Select the first line in a data grid

Hi After you have set up the DataGrid (binding etc.) obey a statement like  set myDataGrid::SelectedIndex  to  -1 In SelectionChanged event code  If myDataGrid::SelectedIndex   0     exit method...

View Article


Forum Post: RE: Column sort ina a data grid

Using WPF-Binding this works well. Remember PIC 9(4) is not a numeric value for .Net. Can you show me your XAML and the property definition. Freundliche Grüsse Werner Lanter

View Article

Forum Post: RE: Select the first line in a data grid

Hello Werner, I tried your solution but does not work. What happens to me is that when I select the first line does not generate the dgridClientes_SelectionChanged event. Only when I select another...

View Article

Forum Post: RE: Column sort ina a data grid

Hello, The XAML definitions of CODIG field.                 DataGridTextColumn Binding="{Binding CODIG, Mode=OneWay}" ClipboardContentBinding="{x:Null}" Header="Código" SortDirection="Descending"...

View Article


Forum Post: RE: Define the printer to a type of document

I found an example for doing this. You can automatically bind a combo box control to the printer collection by adding the following namespace to your xaml:...

View Article


Forum Post: RE: Column sort ina a data grid

Can you also show me the property definition of CODIG in the Cobol source.

View Article

Forum Post: RE: Column sort ina a data grid

Definition on Cobol Source Working Storage: 01 WRK-CODIG PIC 9(8). Instruction to Binding     set custCli::CODIG to WRK-CODIG Definition on Class-Id.       01 WRX-CODIG string property as "CODIG".

View Article

Forum Post: RE: Column sort ina a data grid

Make the following chage: Definition on Class-Id.      01 WRX-CODIG binary-long property as "CODIG".

View Article

Forum Post: RE: Prevent window closing

You can do this monitoring the Window_Closing event. Window x:Class="WPFApplDataGrid.Window1"        xmlns=" schemas.microsoft.com/.../presentation&quot ;        xmlns:x="...

View Article


Forum Post: RE: Column sort ina a data grid

It's perfect. Thanks again. Best Regards Alberto Ferraz

View Article

Forum Post: RE: Select the first line in a data grid

Is the first row selected after loading the window, background light-gray or white? It should be white indicating no row selected. It is important that you set SelectedIndex to -1 as the last...

View Article


Forum Post: RE: Validate e-mail adress

This is a possible solution:           declare MailAdr as type System.Net.Mail.MailAddress.           declare expMess as type System.Exception.           try              set MailAdr to new...

View Article

Forum Post: MF COBOL VS 2015

Hello All, I have run into a problem with VS 2015 not allowing me to add additional windows forms to my managed windows project. It appears that the main.dep file is corrupted. The VS Solutions window...

View Article


Forum Post: RE: Define the printer to a type of document

Hi, It was exactly the solution you were looking for. Now a question in reverse: how do I carry this combo box to set printer option that comes from a field of the database? For example: the...

View Article

Forum Post: RE: Validate e-mail adress

Hello, It works perfectly. Thanks Alberto Ferraz

View Article

Forum Post: RE: Prevent window closing

Hello, Another issue resolved. Thanks again. Alberto Ferraz

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>