Search found 7 matches

by aburnette
Tue May 23, 2023 6:37 am
Forum: Questions & Answers
Topic: Display Value of Cell in Grid
Replies: 4
Views: 7408

Re: Display Value of Cell in Grid

Wow. This is a lot more complex than I was hoping for, but I can incorporate it into a built-in to make things easier.
Thanks for your help.
by aburnette
Wed May 17, 2023 7:52 am
Forum: Questions & Answers
Topic: Display Value of Cell in Grid
Replies: 4
Views: 7408

Re: Display Value of Cell in Grid

DEFINE_COM class(#PRIM_GDCL) name(#GDCL_59) Displayposition(30) Parent(#GRID_1) Source(#STD_NUM) Captiontype(Caption) Caption('Last Receipt')

selectlist named(#GRID_1)
USE builtin(MESSAGE_BOX_SHOW) with_args(OK OK INFORMATION 'Information' #GRID_1.CurrentItem.Cell<>.Value)
* ^ Displays 10
USE ...
by aburnette
Tue May 09, 2023 11:57 pm
Forum: Questions & Answers
Topic: Display Value of Cell in Grid
Replies: 4
Views: 7408

Display Value of Cell in Grid

How do I get the displayed value in a cell in a grid instead of the actual value?

Context:
I'm building a dynamic grid filter that should be functional as a reusable part.
I get list of column names in the grid and put them in a combo box.
Everything was working pretty well until I started to use ...
by aburnette
Sat Dec 10, 2022 8:25 am
Forum: Questions & Answers
Topic: Using a Downloaded PNG in a Form Image Component
Replies: 3
Views: 6810

Re: Using a Downloaded PNG in a Form Image Component

In regular Non-LANSA windows forms you have PictureBox and you can load an image from a URL using
pictureBox.Load(url)

In the LANSA RDML the Load function doesn't seem to be pulled though so
#ImageChart.Load( #W_CHART_URL )
Gives the "Feature name Load is not a member of component type PRIM_IMAG ...
by aburnette
Sat Dec 10, 2022 8:06 am
Forum: Questions & Answers
Topic: Using a Downloaded PNG in a Form Image Component
Replies: 3
Views: 6810

Using a Downloaded PNG in a Form Image Component

I'm trying to get a downloaded image to load in a native local windows form without any additional web components.
I confirmed it downloads to my local tmp folder. Usually named something like swm.0, swm.1, etc. It is a PNG image.
Attempts to read the bitmap into a field or directly into the ...
by aburnette
Fri Dec 09, 2022 1:21 am
Forum: Questions & Answers
Topic: Native Desktop Graph Color Options
Replies: 2
Views: 4153

Re: Native Desktop Graph Color Options

Thank you. This is very helpful.
by aburnette
Wed Dec 07, 2022 2:03 am
Forum: Questions & Answers
Topic: Native Desktop Graph Color Options
Replies: 2
Views: 4153

Native Desktop Graph Color Options

How would I go about setting colors in a Desktop (Windows) graph control?
I'm new to LANSA and I've gotten used to code so I'm having trouble adjusting.
I've tried to edit color schemes and visual styles, but I can't seem to be able to make the graph not a default variety of vivid colors.
I just ...