Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 4356 articles
Browse latest View live

RE: Various in Visual Cobol - WPF

Hi Alberto,I would recommend that you create a new post for each of your questions in the PDF. Then they can be handled individually instead of as a group and it will be more clear to others who are...

View Article


RE: Various in Visual Cobol - WPF

Hi Chris,Thanks for your sugestion. I'll close this post and create posts individually by topic.Best regardsAlberto Ferraz

View Article


Various in Visual Cobol - WPF

Hello:The link below will a file with several situations that have appeared to me throughout this time that I've been programmed.I need your cooperation to help me overcome these...

View Article

Image may be NSFW.
Clik here to view.

Function key to call a menu option

Hello, How do I place a function key to call a menu option?And how does the show in menu?ThanksAlberto Ferraz

View Article

Image may be NSFW.
Clik here to view.

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


RE: Select the first line in a data grid

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

View Article

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üsseWerner Lanter

View Article

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 any...

View Article


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


Image may be NSFW.
Clik here to view.

Define the printer to a type of document

Hello,I need to create a parameter which shows me the printers are installed and I pick one for each type of document (For example: Invoices to Epson ESC/PR, Orders to Samsung 2145, etc.).How I can get...

View Article

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...

View Article

RE: Column sort ina a data grid

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

View Article

RE: Column sort ina a data grid

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

View Article


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

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 by...

View Article


RE: Prevent window closing

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

View Article

RE: Column sort ina a data grid

It's perfect. Thanks again.Best RegardsAlberto Ferraz

View Article


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...

View Article

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?ThanksAlberto Ferraz

View Article

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
Browsing all 4356 articles
Browse latest View live