Search found 339 matches

by soa
Tue Oct 18, 2016 11:46 am
Forum: Questions & Answers
Topic: Word wrapping in Lists
Replies: 10
Views: 4276

Re: Word wrapping in Lists

Stewart

That worked beautifully. As you said the label/html size is close enough if the mark is reasonable.
by soa
Mon Oct 17, 2016 1:52 pm
Forum: Suggestions for Product Enhancements
Topic: IDE Debugging
Replies: 2
Views: 2017

Re: IDE Debugging

Definitely agree with that last point - user defined properties/methods are swamped under the inherited ones - many of which will rarely be used.
by soa
Mon Oct 17, 2016 11:32 am
Forum: Questions & Answers
Topic: Word wrapping in Lists
Replies: 10
Views: 4276

Re: Word wrapping in Lists

Stewart Thanks for that. I've got a label version of this working fine with the content supplied at run time and I've moved to the next step of replacing the label with a html control but I can't get any html content to display. Using ListContentPart as an base I've built ListContentPartHTML (below)...
by soa
Fri Oct 14, 2016 10:43 am
Forum: Questions & Answers
Topic: Word wrapping in Lists
Replies: 10
Views: 4276

Re: Word wrapping in Lists

I've modified your example but I have an issue. The modified part is now Function Options(*DIRECT) Begin_Com Role(*EXTENDS #PRIM_PANL *implements #Prim_list.IListCellDesign) Displayposition(1) Left(0) Tabposition(1) Top(0) Width(385) Layoutmanager(#Layout1) Height(112) Define_Com Class(#PRIM_TBLO) N...
by soa
Fri Oct 14, 2016 8:49 am
Forum: Questions & Answers
Topic: Word wrapping in Lists
Replies: 10
Views: 4276

Re: Word wrapping in Lists

Thanks, All makes sense. I'll give that a go.
by soa
Thu Oct 13, 2016 12:40 pm
Forum: Suggestions for Product Enhancements
Topic: IDE Debugging
Replies: 2
Views: 2017

IDE Debugging

When debugging in the IDE (which is mostly fantastic) there are a couple of things that I'd like changed. In the list of variables long variable names get shoved up at the top of the list rather than in their alphabetical position (this may be a case thing) where I would expect to find them. Many of...
by soa
Thu Oct 13, 2016 12:28 pm
Forum: Questions & Answers
Topic: Word wrapping in Lists
Replies: 10
Views: 4276

Word wrapping in Lists

I'm writing a web application that will replace a hrml web app and it contains a number of tables many of which contain cell data that is too wide to fit in the allowed space. The standard html behavior is to wrap this text. I cannot reproduce this behavior using a standard Lansa list. Is it possibl...
by soa
Fri Oct 07, 2016 2:52 pm
Forum: Questions & Answers
Topic: Cell Alignment in Grid
Replies: 3
Views: 2592

Re: Cell Alignment in Grid

Thanks Greg, That worked. What is the cell alignment for?
by soa
Fri Oct 07, 2016 10:26 am
Forum: Questions & Answers
Topic: Cell Alignment in Grid
Replies: 3
Views: 2592

Cell Alignment in Grid

I have a List Control with four columns, two of which are numeric. I want these to be right aligned.

I have CellAlignment for ColumnCRSID1 set to CentreRight but they remain left aligned.

Is there some other setting I need?
by soa
Fri Oct 07, 2016 10:23 am
Forum: Questions & Answers
Topic: Select an Item in a DropDownList
Replies: 8
Views: 4893

Re: Select an Item in a DropDownList -Solved

Massive doh! here. Turns out that the values where there all along but were made invisible by the themedrawstyle!. My form has a dark theme (white against dark grey). I have a drawstyle called Plaintext which applies this and is set at panel level. All the label items inherit this value but with the...
by soa
Thu Oct 06, 2016 9:24 pm
Forum: Questions & Answers
Topic: Select an Item in a DropDownList
Replies: 8
Views: 4893

Re: Select an Item in a DropDownList

The dropdown certainly has values. I have several fields in the list all hidden except one. When I click the list my items are visible and in the change event the correct hidden fields are exposed and the rest of the interface works accordingly. It works perfectly except that set selection in code d...
by soa
Thu Oct 06, 2016 3:02 pm
Forum: Questions & Answers
Topic: Select an Item in a DropDownList
Replies: 8
Views: 4893

Re: Select an Item in a DropDownList

I've modified the code to #ddCalyrStudyr.items<1>.Focus := true Get_Entry Number(1) From_List(#ddCalyrStudyr) but the dropdown is still displayed with a blank selection. Also If I select an item from the list and then tab away to another control the value goes blank again. There is a property of the...
by soa
Thu Oct 06, 2016 1:30 pm
Forum: Questions & Answers
Topic: Select an Item in a DropDownList
Replies: 8
Views: 4893

Re: Select an Item in a DropDownList

Thanks for the quick response but this isn't working for me. I have Clr_List Named(#ddCalyrStudyr) For Each(#entry) In(#Model.Student.Entries) Add_Entry To_List(#ddCalyrStudyr) Endfor #ddCalyrStudyr.items<1>.Focus := true Get_Entry Number(#ddCalyrStudyr.FocusItem.Entry) From_List(#ddCalyrStudyr) but...
by soa
Thu Oct 06, 2016 12:50 pm
Forum: Questions & Answers
Topic: Select an Item in a DropDownList
Replies: 8
Views: 4893

Select an Item in a DropDownList

Basic question

I've loaded a dropdown list with items and and I want the first item to be selected initially so the user never sees a blank entry but I can't see how to do this.
by soa
Thu Sep 29, 2016 12:40 pm
Forum: Questions & Answers
Topic: scrolling on ipad
Replies: 1
Views: 3359

Re: scrolling on ipad

Forget this I seem to have got it working!
by soa
Thu Sep 29, 2016 11:57 am
Forum: Questions & Answers
Topic: scrolling on ipad
Replies: 1
Views: 3359

scrolling on ipad

I have a web page with a fixed header & footer and a body panel. When shown in the browser on a PC the body panel gets scroll bars when I resize the page such that the content won't fit. On the ipad (in the LANSA Mobile app) the body panel is simply truncated and the content unreachable. Is there a ...
by soa
Wed Sep 28, 2016 5:56 pm
Forum: Questions & Answers
Topic: Layout Units=Content
Replies: 5
Views: 4957

Re: Layout Units=Content

That's good news. It would be really helpful if an EPC that only applies to the IDE environment could be produced as at this time of year scheduling iSeries downtime is a serious nightmare.
by soa
Wed Sep 28, 2016 5:03 pm
Forum: Questions & Answers
Topic: Layout Units=Content
Replies: 5
Views: 4957

Re: Layout Units=Content

Thanks for that but I really don't want to start again with the layout and design if what I've done should work - and it nearly does.

I've built a simple one page example that show the layout going haywire as soon as the content based item is made invisible and I've sent it to support.
by soa
Tue Sep 27, 2016 9:54 am
Forum: Questions & Answers
Topic: Layout Units=Content
Replies: 5
Views: 4957

Layout Units=Content

Using the v14SP1 Layout Manager I noticed that there is an option option for units called contents. I built a page Row 1 Fixed (Header) Row 2 Proportional (Body) Row 3 Contents (Error Messages RP) Row 4 Fixed (Footer) The idea being that Row 3 is not visible when it has no contents (ie no error mess...
by soa
Wed Sep 21, 2016 4:06 pm
Forum: Questions & Answers
Topic: Server Module Error
Replies: 2
Views: 3666

Re: Server Module Error

My mistake I'm missed the server routine name off the end of the Define_com.
Sorry.