New developer machine for Object Cobol 4.0.07
Hi We have some legacy applications that are compiled with Object COBOL 4.0.07 which was installed on an older desktop (Windows 95)I'm a support guy at work and make me a petition to prepare a new...
View ArticleRE: One more C# WPF to Cobol
Hi Bernd, there is a generics sample included in the product that is worthwhile looking through.Start the Samples browser from the start menuSelect the COBOL for .NET sectionSelect Generics...
View ArticleRE: One more C# WPF to Cobol
ok, this helps a Little bit but i Need this lines too: ((CollectionViewSource)this.FindResource("cvsOptions")).Source = options List<WPFGridZeilen> GridList = new List<WPFGridZeilen>()
View ArticleRE: One more C# WPF to Cobol
For more Background:This is in the WPF:... <CollectionViewSource x:Key="cvsOptions"/>...This line is in c#:...((CollectionViewSource)this.FindResource("cvsOptions")).Source = Options...
View ArticleRE: One more C# WPF to Cobol
This is not right... set ((CollectionViewSource)this.FindResource("cvsOptions")).Source to strings
View ArticleRE: One more C# WPF to Cobol
this is wrong too: set ((CollectionViewSource)this::FindResource("cvsOptions"))::Source to stringsThe complier have problems wit the first "(" ...
View ArticleRE: Public Class for a WPF Data Grid
There is an entire section in the documentation that shows comparisons of various OO programming features between different languages like COBOL and C#.Please see...
View ArticleOne more C# WPF to Cobol
here is the c# Code:List<string> options = newList<string>() ((CollectionViewSource)this.FindResource("cvsOptions")).Source = optionsList<WPFGridZeilen> GridList =...
View ArticleRE: One more C# WPF to Cobol
Hi Bernd, casts are done in COBOL using the syntax AS type-specifier. I've created the following to demonstrate how this might be written in COBOL. The three lines in method m, correspond to the...
View ArticleRE: static method
Adding this note for the sahe of completeness:This has been written up as an RPI and the problem has been fixed for inclusion with Visual COBOL 2.2 update 1.A workaround for the problem is to declare...
View Articlestatic method
I am working with winforms and in the file section I have a file that needs to be accessed from a static method. I get the following error message on fields that are associated with that file...error...
View ArticlePublic Class for a WPF Data Grid
Hi I Need a public Method like this in C#: public class WPFGridZeilen { public string GrSp01 { get; set; } public string GrSp02 { get; set; } }It's a public Class in a C# EXE...
View ArticleRE: Public Class for a WPF Data Grid
Here is one example of a get / set in Visual COBOL. There are a couple of other ways to do this.class-id WPFGridZeilen.working-storage section. 01 _grso01 string. property-id GrSp01 string....
View ArticleRE: ignore "Leave" in a Windows Forms Textfield when a Button is pushed
If I am understanding your request correctly you can check in the Leave event to see if the button has the new focus and then ignore the leave event accordingly.What is it that you are doing in the...
View ArticleRE: ignore "Leave" in a Windows Forms Textfield when a Button is pushed
No Chris, I can check the Leave Event which, when the field looses Focus calls a method "EvaluateInput". This I need to suppress when no key is pressed. Leave or Validating don't detect another object...
View ArticleRE: ignore "Leave" in a Windows Forms Textfield when a Button is pushed
Sorry Chris, I made a mistake: The Validating Event is the right way. But, I'd appreciate if could tell me how to trap the Tab Key.RegardsRainer
View ArticleRE: ignore "Leave" in a Windows Forms Textfield when a Button is pushed
If you place your code in the textbox validating event and then set the CausesValidation property of the button to false then the validating event for the textbox should not even be fired when the...
View Articleignore "Leave" in a Windows Forms Textfield when a Button is pushed
I need to trap the Event, when a Textfield is left. I.e. when I push a defined (e.g. List-) button, the field that had Focus causes a "Leave" Event occuring before the button pressed Event is...
View ArticleQuestions about .gnt files
Hopefully I'll phrase these in an understandable way. As generated code is non-sharable does this mean each thread in a multi threaded program will load its own copy of a .gnt?If a .gnt is regenerated...
View Article