Recent posts
#41
Nomads / Re: Standard List Boxes
Last post by Mike King - May 01, 2025, 02:47:27 PMIf you are using a formatted list box there is a option of setting full line highlight in Nomads on the list box. This will highlight the whole line in the list box as opposed to just the text in the item.
Also, while I don't remember which release it was added but there is a way to change the background color for all formatted list boxes when they don't have focus using the 'OPTION' mnemonic.
PRINT 'OPTION'("LvuSelBackClrNoFocus", ColorDescriptor),
Where ColorDescriptor could be any color specification in PxPlus such as "RED", "RGB: 100,200,200", "#Orange".
You can actually tweak a number of system colors using the 'OPTION' mnemonic.
Also, while I don't remember which release it was added but there is a way to change the background color for all formatted list boxes when they don't have focus using the 'OPTION' mnemonic.
PRINT 'OPTION'("LvuSelBackClrNoFocus", ColorDescriptor),
Where ColorDescriptor could be any color specification in PxPlus such as "RED", "RGB: 100,200,200", "#Orange".
You can actually tweak a number of system colors using the 'OPTION' mnemonic.
#42
General Announcements / PVX Plus April 2025 Update
Last post by PxPlus - May 01, 2025, 02:20:48 PMKeep up to date with what's happening at PVX Plus. Please see our latest newsletter.
April 2025 Newsletter
April 2025 Newsletter
#43
Nomads / Re: Grid Images
Last post by Mike King - May 01, 2025, 02:16:06 PMJeff
Do you want to copy the image or the text of product option?
Do you want to copy the image or the text of product option?
#44
Nomads / Grid Images
Last post by Jeffrey Ferreira - May 01, 2025, 02:01:26 PMHi All,
a client asked there was a way when we are displaying our images in a grid for product options if there was a way they could right click on the option and copy it so that they could paste in an email to send to customers.
is this possible?
jeff
a client asked there was a way when we are displaying our images in a grid for product options if there was a way they could right click on the option and copy it so that they could paste in an email to send to customers.
is this possible?
jeff
#45
Nomads / Re: Standard List Boxes
Last post by Jeffrey Ferreira - May 01, 2025, 01:59:47 PMHi
i dont know what full line highlight is ? sorry.
Pxplus version 17.10
Windows Server 2019
it is the background color
i dont know what full line highlight is ? sorry.
Pxplus version 17.10
Windows Server 2019
it is the background color
#46
Wish List / Re: SELECT DIRECTIVE OUTPUT
Last post by Mike King - April 28, 2025, 01:53:52 PMYou can do something similar by defining a query that has the fields you need then open the query using *query* ; panel ; library.
While it doesn't create actual files, it does provide a logical file that you can read and the data can come from multiple data sources using file links in the query definition.
While it doesn't create actual files, it does provide a logical file that you can read and the data can come from multiple data sources using file links in the query definition.
#47
Wish List / SELECT DIRECTIVE OUTPUT
Last post by Patrick Denny - April 28, 2025, 12:31:14 PMRe: SELECT directive.
A nice feature I used excessively in FoxPro was the ability to output the results of a SELECT command to multiple formats. You could output to:
1) An existing file (APPEND/INSERT).
2) A "created on the fly" permanent physical file.
3) A temp/MEMORY file.
4) A named physical "temp" file, similar to a *MEMORY* file, which would be auto deleted when closed or at the end of the program.
5) Other output formats, i.e. Excel, CSV, Tab Delimited, etc...
I believe the SELECT command syntax was simple:
SELECT ... [APPEND] TO [MEM|TMP|FILE|XLS|XLSX|CSV|TXT|etc] [filename]]
- Type "FILE" would be an existing file or a file created by the SELECT command.
- You might need to supply parameters for "created on the fly" files (FILE) and temp file (TMP) output:
fieldname(type,length,etc){,fieldname(type,length,etc){,fieldname...}}
If memory serves me, you could "name fields" for your output using an "AS" clause,
something like: CUST_NUMBER AS CUSTID(C,6), CUST_NAME AS NAME(C,35), ...
- "C" being character data, "N" numeric, "D" dates, etc..
When the results would be output to *MEMORY* or a named file, you could use that file in a subsequent SELECT command and perform additional data selection, via another SELECT command, to a) "filter" data, b) JOIN the output to another table, c) use your imagination!
I would be able to construct SELECT statements that were optimized to receive filtered output, then use that output to do "more" via additional SELECT commands or as data to use as needed.
With the ability to save and reuse the results, you could feed into "anything": Report Writer, Charts/Graphs, Queries/Lookups (to display the results), etc... You might load a GRID or LIST_BOX using the results. I believe that was even an OPTION in various controls, that the data source could be based on a SELECT statement. You might also need to refresh/reload the control by refreshing the SELECT command at times, based on changing parameters.
This was powerful in that the results could be used "however you want" rather than being confined to a SELECT/NEXT RECORD command structure. Since the data was auto generated and available for use, there was no additional programming needed to manually save the results to your desired (reusable) output format.
A nice feature I used excessively in FoxPro was the ability to output the results of a SELECT command to multiple formats. You could output to:
1) An existing file (APPEND/INSERT).
2) A "created on the fly" permanent physical file.
3) A temp/MEMORY file.
4) A named physical "temp" file, similar to a *MEMORY* file, which would be auto deleted when closed or at the end of the program.
5) Other output formats, i.e. Excel, CSV, Tab Delimited, etc...
I believe the SELECT command syntax was simple:
SELECT ... [APPEND] TO [MEM|TMP|FILE|XLS|XLSX|CSV|TXT|etc] [filename]]
- Type "FILE" would be an existing file or a file created by the SELECT command.
- You might need to supply parameters for "created on the fly" files (FILE) and temp file (TMP) output:
fieldname(type,length,etc){,fieldname(type,length,etc){,fieldname...}}
If memory serves me, you could "name fields" for your output using an "AS" clause,
something like: CUST_NUMBER AS CUSTID(C,6), CUST_NAME AS NAME(C,35), ...
- "C" being character data, "N" numeric, "D" dates, etc..
When the results would be output to *MEMORY* or a named file, you could use that file in a subsequent SELECT command and perform additional data selection, via another SELECT command, to a) "filter" data, b) JOIN the output to another table, c) use your imagination!
I would be able to construct SELECT statements that were optimized to receive filtered output, then use that output to do "more" via additional SELECT commands or as data to use as needed.
With the ability to save and reuse the results, you could feed into "anything": Report Writer, Charts/Graphs, Queries/Lookups (to display the results), etc... You might load a GRID or LIST_BOX using the results. I believe that was even an OPTION in various controls, that the data source could be based on a SELECT statement. You might also need to refresh/reload the control by refreshing the SELECT command at times, based on changing parameters.
This was powerful in that the results could be used "however you want" rather than being confined to a SELECT/NEXT RECORD command structure. Since the data was auto generated and available for use, there was no additional programming needed to manually save the results to your desired (reusable) output format.
#48
Nomads / Re: Standard List Boxes
Last post by Mike King - April 24, 2025, 10:49:43 AMIs the light gray the background colour or the text (foreground) colour?
Also what version PxPlus and Windows?
Also what version PxPlus and Windows?
#49
Nomads / Re: Standard List Boxes
Last post by martinp - April 24, 2025, 08:58:40 AMProbably a windows thing which windows? Do you have full line highlight on?
#50
Nomads / Standard List Boxes
Last post by Jeffrey Ferreira - April 17, 2025, 10:53:14 AMHi All,
I think this might be a window thing but i thought i would ask.
We have a screen with several Standard List Boxes on it. They are product options.
Color, Width, Height, Radius etc.
When they click one option - the other one still shows selected but it is like 'faint grey' and it is hard to see it selected. In the past I made a multi-line on top of it that showed selection (re-iterated it). Is there any way i can make the selected option more pronounced even when it does not have focus.
thanks in advance.
jeff
I think this might be a window thing but i thought i would ask.
We have a screen with several Standard List Boxes on it. They are product options.
Color, Width, Height, Radius etc.
When they click one option - the other one still shows selected but it is like 'faint grey' and it is hard to see it selected. In the past I made a multi-line on top of it that showed selection (re-iterated it). Is there any way i can make the selected option more pronounced even when it does not have focus.
thanks in advance.
jeff