Search found 15 matches

by Mkolbe
Thu Sep 12, 2019 11:46 pm
Forum: Questions & Answers
Topic: Timing of when field drop downs are loaded
Replies: 1
Views: 191

Re: Timing of when field drop downs are loaded

I figured out the answer. Drop Downs for fields on a dialog box are loaded when the Method routine containing the call to the Dialog box is initiated. In my case, simply moving the "Get_Entry" into the ItemClick Event routine, allowed me to get the value I needed, then when the ShowCurrentItem metho...
by Mkolbe
Thu Aug 22, 2019 12:26 am
Forum: Questions & Answers
Topic: Timing of when field drop downs are loaded
Replies: 1
Views: 191

Timing of when field drop downs are loaded

I have a VIEW (#PRIM_VIEW) that displays a list of "Jobs". When the user selects one of the Jobs from the list, a DIALOG (#PRIM_DLG) appears, displaying data and allowing maintenance of the record chosen. The dialog contains multiple fields that are drop downs (dynamic picklists). I'm debugging the ...
by Mkolbe
Wed Jun 19, 2019 6:20 am
Forum: Questions & Answers
Topic: DateTimeField Calendar Functionality
Replies: 3
Views: 389

Re: DateTimeField Calendar Functionality

LANSA support confirmed that the DateTimeField calendar functioned for them as it did for me. They said that this design was intentional (maybe to act as a means to jump forward/backward one month at a time), however, after thinking about it some more they thought it made more sense to close the dat...
by Mkolbe
Thu Jun 13, 2019 12:27 am
Forum: Questions & Answers
Topic: DateTimeField Calendar Functionality
Replies: 3
Views: 389

Re: DateTimeField Calendar Functionality

Thanks for confirming. I just submitted an incident on the Support Portal. We'll see what they say.
by Mkolbe
Fri Jun 07, 2019 11:36 pm
Forum: Questions & Answers
Topic: DateTimeField Calendar Functionality
Replies: 3
Views: 389

DateTimeField Calendar Functionality

I have a DateTimeField in my Dialog (#PRIM_DLG). When the user selects a date for the month shown in upper left (e.g. July), the date value changes and the calendar is automatically closed. However, if the user chooses a date in the prior or subsequent month (June or August: those shown in yellow in...
by Mkolbe
Wed Nov 14, 2018 1:41 am
Forum: Questions & Answers
Topic: TimeStamp Math
Replies: 5
Views: 2173

Re: TimeStamp Math

I'm wondering if I will need to do something similar for my issue. I am attempting to display a data field from a SQL database that is stored as Datetime2. The time is stored in that database as our literal local time (not UTC). For example - 2018-11-12 14:56:00.0000000. Within Lansa, I have defined...
by Mkolbe
Fri Feb 23, 2018 7:48 am
Forum: Questions & Answers
Topic: Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?
Replies: 6
Views: 1557

Re: Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?

The easiest change for me to make was to add the one line of code to each command handler to pass the Framework info to the reusable part that they all shared. #OC_RP_Command_OppHeader.avFrameworkManager <= #avFrameworkManager From within the one reusable part containing my header info and button, I...
by Mkolbe
Wed Feb 21, 2018 12:13 am
Forum: Questions & Answers
Topic: Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?
Replies: 6
Views: 1557

Re: Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?

The command Handler in question is named "OC_RP_Command_Sales" . It (along with several other command handlers) references my reusable part, named "OC_RP_Command_OppHeader" , that contains the header fields. I included another screen shot below. Command Handler "OC_RP_Command_Sales" Begin_Com Role(*...
by Mkolbe
Tue Feb 20, 2018 8:43 am
Forum: Questions & Answers
Topic: Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?
Replies: 6
Views: 1557

Invoke #AVFRAMEWORKMANGER.avSwitch from a Non-command handler reusable part?

I have a reusable part that exists in several different command handlers. The resuable part acts as a common "header area" for the various command handlers. I attempted to add a button in this reusable part that when clicked, would perform an avSwitch to initiate a filter associated with an entirely...
by Mkolbe
Wed Feb 07, 2018 4:59 am
Forum: Questions & Answers
Topic: Finding contents of a field/object contents using IDE Debug
Replies: 2
Views: 848

Finding contents of a field/object contents using IDE Debug

While using debug I was hoping to be able to right-click on a line of code to quickly see the contents of a specific field or object. Doesn't look like that is an option. I can find somethings easy enough (like a field from a file), but not others (e.g. avAssociatedInstance). I've tried expanding ev...
by Mkolbe
Thu Feb 01, 2018 1:31 am
Forum: Questions & Answers
Topic: DropDown reusable part Number of Rows displayed
Replies: 2
Views: 1000

Re: DropDown reusable part Number of Rows displayed

Thank you very much! I changed the column width of #ColumnPRMD151 from 280 to 260. I no longer get the horizontal scroll bar, and ALL my values are displayed in the drop down. Define_Com Class(#PRIM_LABL) Name(#Label1) Displayposition(1) Ellipses(Word) Height(24) Left(0) Parent(#COM_OWNER) Tabpositi...
by Mkolbe
Wed Jan 31, 2018 8:10 am
Forum: Questions & Answers
Topic: DropDown reusable part Number of Rows displayed
Replies: 2
Views: 1000

DropDown reusable part Number of Rows displayed

I've included a a dynamic DropDown reusable part on my screen. There is a DropDownCount parameter that appears to default to 8. When the number of rows returned is at least 8, then 8 rows are displayed in the DropDown (as expected). However, when the reusable part returns less than 8 rows, the DropD...
by Mkolbe
Sat May 20, 2017 12:09 am
Forum: Questions & Answers
Topic: Horizontal scroll not working for List within a Popup
Replies: 1
Views: 772

Re: Horizontal scroll not working for List within a Popup

I guess I shouldn't have assumed the horizontal scroll bar would appear before displaying data in the table. Once there is data to display, the horizontal scroll bar appears!
by Mkolbe
Fri May 19, 2017 10:06 pm
Forum: Questions & Answers
Topic: Horizontal scroll not working for List within a Popup
Replies: 1
Views: 772

Horizontal scroll not working for List within a Popup

I have a list (PRIM_TBLO) within my Popup (PRIM_PPNL) but the horizontal scroll doesn't seem to be working. I have more columns in my table than can be displayed within the defined width of my Popup. When I'm working with the Popup within Visual Lansa editor, there is a horizontal scroll bar, but no...
by Mkolbe
Thu Apr 20, 2017 11:01 pm
Forum: Questions & Answers
Topic: VLF-ONE Contextual Error Messages
Replies: 7
Views: 2868

Re: VLF-ONE Contextual Error Messages

I wonder if MarkD's statement about the limitations of the red exclamation mark error indicator also applies to DropDownLists? I was unable to get the exclamation mark to appear for my Status Field (DropDownList) using #SYS_MSGQ.Add( 'Status must be entered' #OC01_Status ). I had to apply an error s...