Tanyway for the reply, but that is not what I asked...
In case, I was not clear, what I am trying to do is get the RGB long values for a color within a picture object. If anyone has experience doing this, I would appreciate hearing how. Otherwise, I will have to research the API and code it...
When the change the retrieval set from the stored proc, you will still need to go into the data source definition grid and add the new field. PB will not do that for you.
I know this is a old thread... But if you are still here, let me know and I will send you a piece of code I created forr this. A treeview is very hard to implement...
Get the directory name and then strip off the last part of the string after the last slash "\."
Just use the POS LEFT and LEN functions to calculate the location of the last slash...
li_rtn = GetFileSaveName("Database Location",
ls_docname, ls_loc, "mdb",
"Access...
I thought I had entered this problem before, but I cannot find the thread, so...
I am running PB 8.0.3 on an XP Pro machine, connecting to a sybase 10 database.
As I code, I must save my changes to code every 2-3 minutes.
If I wait longer, most times PB will crash.
The DBA's tell me there is...
It looks like you have to do the work yourself...
[COLOR=blue]SELECT {fn hour(table.datefield)},
{fn minute(table.datefield)}
FROM table ;[/color blue]
Where table is the table of interest and datefield is the field containing the time you want.
Although this is an old thread, I am responding anyway... Hopefully some discussion and knowledge can be gained (by me).
I must preface this by first saying that I have been programming PowerBuilder for around 8 years - almost never with the PFC. I am however currently using the pfc on a...
Thank you, but functions are not resource items. The resource file should only contain datawindows and graphic items.
Placing a global function into the pbr only produces 'not found' errors.
For any following this link. I have found that when I compile the application as one exe I have this problem. When I compile separate pbd's there is not problem.
If I find more I will post.
I have not coded the timer for a while, so I am assuming that your chose of where and what you have coded is correct.
However, I think the problem might be that the time will never be exactly equal to variable x. Give it a range and see if that works...
IF time() < X and time > Y THEN
...
Thank you, but ease is not the point. I am doing it this way so that I can have the user choose and control the colors from the preferences window.
As I said, this works fine from the development environment and in an older version of my program... Just in a recent compile has it failed to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.