Search found 417 matches

by Stewart Marshall
Mon Jun 26, 2017 3:33 pm
Forum: Questions & Answers
Topic: PRIM_LIST.Number spin buttons
Replies: 2
Views: 1636

Re: PRIM_LIST.Number spin buttons

Hi Art Prim_list columns are a specific type e.g. String, number etc. The source is simply there to define the variable to be used for the data value. Numeric columns always show as a spin edit. However, string columns only ever show as a simple edit. So, by defining a string column to have a numeri...
by Stewart Marshall
Mon Jun 26, 2017 12:37 pm
Forum: Questions & Answers
Topic: Tree Item formatting changes at runtime
Replies: 1
Views: 1223

Re: Tree Item formatting changes at runtime

Hi Art You can expose a property/method as you've already done and handle it in the component containing the Tree, or you can code it in the design instance. My personal preference is the latter, but it's really only personal taste and coding style. The OnAdd method on the iTreeDesign interface will...
by Stewart Marshall
Mon Jun 26, 2017 12:24 pm
Forum: Questions & Answers
Topic: VL Web - Current Character position in a PRIM_TEXT
Replies: 1
Views: 1331

Re: VL Web - Current Character position in a PRIM_TEXT

Hi Marcus

There's nothing currently available in Prim_text to allow you to determine cursor position.

It would be a valuable addition, as would Cut/Copy/Paste functionality.

Please request an enhancement

Regards
by Stewart Marshall
Fri Jun 09, 2017 1:46 pm
Forum: Questions & Answers
Topic: Edit Mask Not Working
Replies: 2
Views: 1566

Re: Edit Mask Not Working

1 - I've had a look at the edit mask issue and I can't reproduce it in SP1 2 - The extra entry in the list is there because you explicity add it to the list #Find.ExecuteAsync( #List1 ) will put the list returned from the SrvRoutine directly in to the list on the screen. The addition Add_Entry insid...
by Stewart Marshall
Tue Jun 06, 2017 3:20 pm
Forum: Questions & Answers
Topic: Tracing and server functions
Replies: 3
Views: 1424

Re: Tracing and server functions

Hi Art

Server functions and modules are basically the same when executing on the server, so I would expect it to work.

Regards
by Stewart Marshall
Tue Jun 06, 2017 12:18 pm
Forum: Questions & Answers
Topic: Tracing and server functions
Replies: 3
Views: 1424

Re: Tracing and server functions

Hi Art

If you're looking to embed user tracing on the server, have a look at #xDemoTraceHandlerDesktop

Regards
by Stewart Marshall
Tue Jun 06, 2017 12:10 pm
Forum: Questions & Answers
Topic: Content height for embedded web page?
Replies: 3
Views: 1399

Re: Content height for embedded web page?

Hi Art

If you're really only trying to embed relatively simple HTML rather than a whole site as such, try the HTML control. This will size to its content.

Regards
by Stewart Marshall
Tue Jun 06, 2017 9:57 am
Forum: Questions & Answers
Topic: Content height for embedded web page?
Replies: 3
Views: 1399

Re: Content height for embedded web page?

Hi Art The first thing is that there's a bug in the current GA that causes content sizing for an embedded webpage to resolve to a zero. Please report this to your regional helpdesk. Once that's resolved, the embedded page will still only be as big as it is at design time. Could you tell us a little ...
by Stewart Marshall
Sat Jun 03, 2017 10:55 am
Forum: Questions & Answers
Topic: List display not matching order added
Replies: 4
Views: 3256

Re: List display not matching order added

Hi Joe The order of the entries in the underlying data list will always be as the entries were added; in your case, the order they are returned from the server. The order of items in the visual list depends entirely on the SortPosition of the columns. If you look at your first picture it shows the d...
by Stewart Marshall
Thu Jun 01, 2017 10:27 am
Forum: Questions & Answers
Topic: Properly destroying components created with set_ref
Replies: 4
Views: 1837

Re: Properly destroying components created with set_ref

Source code for the examples in the previous document

Regards
by Stewart Marshall
Thu Jun 01, 2017 8:48 am
Forum: Questions & Answers
Topic: Properly destroying components created with set_ref
Replies: 4
Views: 1837

Re: Properly destroying components created with set_ref

Here's a more in depth look at resource handling in VL.

Regards
by Stewart Marshall
Wed May 31, 2017 2:49 pm
Forum: Questions & Answers
Topic: Supressing the vertical scoll on the #prim_tree component
Replies: 2
Views: 1897

Re: Supressing the vertical scoll on the #prim_tree component

Hi David

The short answer is no.

I haven't looked at an Android phone, but on iPhone the scrollbar disappears from view shortly after the control stop scrolling anyway.

Regards
by Stewart Marshall
Tue May 30, 2017 5:59 pm
Forum: Questions & Answers
Topic: VLWeb CheckBox in a list
Replies: 1
Views: 891

Re: VLWeb CheckBox in a list

Hi Jim The ButtonState property of a CheckBox column is the prototype state for all entries when added to the list. This is why it doesn't change. To access the item that's just been clicked, you need to use the column's CurrentItem.ButtonState Begin_Com Role(*EXTENDS #PRIM_WEB) Height(688) Width(81...
by Stewart Marshall
Fri May 26, 2017 12:01 pm
Forum: Questions & Answers
Topic: Row with label and word wrap
Replies: 3
Views: 1634

Re: Row with label and word wrap

Hi Art

To make the whole item resize to the content, you need to set the Sizing for the Layout used on your design reusable part to ContentHeight. This is available on the layout sheet of the ribbon.

Regards
by Stewart Marshall
Thu May 25, 2017 9:50 am
Forum: Questions & Answers
Topic: #PRIM_WEB.Page
Replies: 4
Views: 1768

Re: #PRIM_WEB.Page

Hi Jim This is an odd one and appears to be specific to Safari or perhaps just the iPhone/iPad I can use touch on my desktop screen to scroll an embedded page in Chrome, Edge, IE and FireFox, but my iPhone with Safari scrolls the whole page. Gotta love browser differences. Please report it to you re...
by Stewart Marshall
Thu May 04, 2017 8:33 am
Forum: Questions & Answers
Topic: Maximum length in multi-line edit box
Replies: 2
Views: 1202

Re: Maximum length in multi-line edit box

Assuming this is the web version that you're referring to, the best you can do today is to monitor the Changed event provide feedback to the user about the allowed number of characters. Begin_Com Role(*EXTENDS #PRIM_WEB) Width(817) Height(593) Define_Com Class(#prim_vs.Style) Name(#Error) TextColor(...
by Stewart Marshall
Mon May 01, 2017 8:47 am
Forum: Questions & Answers
Topic: Changing Field Value Is Not Triggering Changed Event
Replies: 3
Views: 1541

Re: Changing Field Value Is Not Triggering Changed Event

Hi Joe The Changed event is only fired when a value is keyed in to an edit. It does not fire when the value is changed in code. Events aren't really meant to be used as a place to write processing, although they commonly are. Best practice is to put the processing code in a method and to call it fro...
by Stewart Marshall
Fri Apr 28, 2017 4:59 pm
Forum: Questions & Answers
Topic: FORM-Focus difference
Replies: 4
Views: 1920

Re: FORM-Focus difference

Hi Shumpei 1. Focus will move to the next control in the tab sequence defined by TabPosition property 2. Yes, tabbing between controls resets the error state 3. The state will be reset whenever the runtime determines that it has the opportunity to update the display, so it cannot be linked directly ...
by Stewart Marshall
Tue Apr 18, 2017 12:53 pm
Forum: Questions & Answers
Topic: Displayonly field can be edited?
Replies: 3
Views: 2196

Re: Displayonly field can be edited?

Hi Megumi The intent of the DisplayOnly property is to show a non editable version of the field without the need to set the ReadOnly property to true and without the need to move the value in to a label. It seems however that there is a bug when it's used on a touch screen. Please report this to you...
by Stewart Marshall
Tue Apr 18, 2017 10:19 am
Forum: Questions & Answers
Topic: UPD_Entry changes field atributes to append
Replies: 1
Views: 856

Re: UPD_Entry changes field atributes to append

The Keypress event fires when the key is pressed and BEFORE the field values in the list are updated. This allows you to trap specific keys if required. However, for the purposes of updating a total, it's best is to use the ItemChanged event. This fires after the underlying list values have been upd...