Discussions tagged PFC
How to get, change, then reset the default printer
- Resolved
- How-to
- Last updated 1 month ago
- Tracy Lamb replied 1 month ago
Hi all,
In my application, I have a user event for printing to a label printer, triggered from a right mouse menu option.
I'm wondering how to get and save the current default printer, call PrintSetup() to allow the user to select the label printer...
How do I stop a validation message from popping up?
- Resolved
- Advice
- Last updated 4 months ago
- Tracy Lamb replied 4 months ago
Hi all,
I have a dw control on a tabpage with a user event, ue_create_form. On the dw object itself ( datawindow painter ) none of the columns has a validation rule, validation message, or initial value.
Here's the code for ue_create_form:
this.I...
Functions keys don't appear to be working
- Resolved
- How-to
- Last updated 7 months ago
- Tracy Lamb replied 7 months ago
Hi All! It's been a few months since my last question... things are going good! I really like PB2022 R3... Thank you Appeon.
I have a window object with a dw and a tab object. The tab object (ufolder_lab) is inherited from utab_folder, which is in...
Hello everyone, I am running my app on the client PC and I am getting the following error in the following code segment: function: of_printdlg,
Code:
32 long ll_hwnd
34 ll_hwnd = handle (aw_obj)35 if ll_hwnd = 0 then36 return -137 end if
39 retur...
PFC2022 resize service doesn't work right in MDI with TabbedView
- Resolved
- Issue
- Last updated 11 months ago
- Tracy Lamb replied 9 months ago
I think I isolated my previous question to an issue with PFC. Was able to create a small project to demonstrate a little of what's going on... I suspect my previous issues are related. I've attached a zip file with all of my project files.
Using P...
PB2022 Tabbed view not showing horizontal scroll bar
- Resolved
- How-to
- Last updated 11 months ago
- Bruce Armstrong replied 11 months ago
Hi all,
Thought I'd give PB2022 R2 a try... just changed my MDI window to TabbedView. Pretty cool!
I'm using PB2022 R2, PFC12.5, Windows 11. I have a custom tab object, ufolder_lab, inherited from the pfc's u_tab... utab_folder. ufolder_lab is ...
How do I display menu toolbar text by default?
- Resolved
- How-to
- Last updated 1 year ago
- John Fauss replied 1 year ago
Hi all,
In my application, the toolbars work fine. If I right-click on the menu at runtime, I can turn the toolbar text on or off. By default it's off. How can I change that to be on by default?
Not sure where the code is, or what the property i...
Cloud Migration of PFC App, Linkage Error
- Issue
- Last updated 1 year ago
- Jeff Wayt replied 1 year ago
I have a PFC application I migrated from 2017 R2 to 2022 and deployed as both Win32 target and Cloud target on my local machine. I began testing the proof of concept cloud app. Windows retrieve fine, but when I try to add a record that uses PFC LINKA...
Me again!
Today when testing my app, I keep getting a popup asking for a retrieval argument for edit_user. That's not a field I would ever do a retrieval argument on. Not sure why PB is asking for a retrieval argument.
The window I'm opening has...
dw.Update is giving error, but db is still updated
- Resolved
- Advice
- Last updated 1 year ago
- Tracy Lamb replied 1 year ago
Hi all,
Another strange one. I've got a window with a dw on it, inherited from PFC u_dw. I've got code for the dw that has 3 user events. ue_cut_rows, ue_copy_rows, ue_paste_rows.
I can cut/copy rows, then paste rows, works fine. But, when I sav...
How do I communicate between a pop-up window and parent window?
- Resolved
- How-to
- Last updated 1 year ago
- Tracy Lamb replied 1 year ago
Hi all,
I have a window with a tab folder. The tab folder has 4 tabs. In one of the tabs, I need to open a pop-up window from the dw on the tab page to do some calculations. (The window pops up from an option on the RMB menu). The dw has a couple...
Is there an MDI regain focus event?
- Resolved
- Advice
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
Hi Friends,
I have an MDI app. In one of MDI sheets, I have a dw object and a tab object. Both objects have code for the rbuttonup event that pops up a different menu depending on which object or tab is clicked.
When the user has the app running ...
Drag/Drop event firing when it shouldn't
- Resolved
- Issue
- Last updated 2 years ago
- Tracy Lamb replied 2 years ago
Hi all,
My customer noticed something very strange... when he's got my application running, then clicks on the desktop (or runs another app from his task bar), then comes back to my application, the Drag/Drop event is firing. I sprinkled the code w...
How do I over-ride Windows paste() function?
- Resolved
- How-to
- Last updated 2 years ago
- John Fauss replied 2 years ago
Hi all,
I've got a dw that I want to over-ride the default Windows paste behavior on. In my dw the user can copy (CTRL+C) a value, then highlight several rows and paste (CTRL+V). I have an event ue_keypress for the keypress event, and trap CTRL+V....
Is there a PFC equivalent to datawindow.ReadOnly = Yes ?
- Resolved
- Advice
- Last updated 2 years ago
- PowerObject ! replied 2 years ago
I've got a couple of DW's that I want to be read-only under certain conditions. I use PFC's dw.of_SetUpdateable( FALSE ), but I also don't want any of the columns to be "clickable". So, I add dw.modify("Datawindow.ReadOnly=YES"). This work, but ...
DDDW in DW object causing the DW to appear to be modified.
- Resolved
- How-to
- Last updated 2 years ago
- Andreas Mykonios replied 2 years ago
Me again,
In my window with a parent DW that has 3 DDDW fields, if I select something from the one of the DDDW's, it appears that the dw update status is changed to Modified! The DW is set to not updateable. When I close the window, I get a message ...
Why isn't one of my DDW's displaying the right column on initial retrieve?
- Resolved
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
Hi all,
I've got a datawindow with 3 DropDownDW's. I can't retrieve the drop-downs until after the parent dw is retrieved. The Auto Retrieve is checked OFF on all three . In the parent DW's RetrieveEnd event I've got the following code:
ll_TmdeI...
Can I open a file in web browser using HttpClient?
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Hi all,
From another post, I learned that the iNet object is now obsolete. How do I open a file in a web-browser using HttpClient object? Is the even possible, or do I need to use the WebBrowser object?
I don't need to do it now, but would like to...
How to use RUN powerscript function in a loop?
- Resolved
- How-to
- Last updated 2 years ago
- Tracy Lamb replied 2 years ago
Hi all,
I need to loop through a few records and if all conditions are met, run a program. This works fine for one record. The program I'm running requires user interaction. Is there a way to wait for the other program to close before moving to t...
Clicking the keyboard TAB is causing strange behavior in Tab Object
- Resolved
- How-to
- Last updated 2 years ago
- Tracy Lamb replied 2 years ago
Hi all,
So my Beta Tester found something strange (and unacceptable) in one of my windows. In the app, there are 4 windows each with a folder object. Each folder object is inherited from the pfc's u_tab object. This strange behavior is only happeni...
- Page :
- 1