Hi Edgar
I am using this code. Hope it helps
Object oCommandbar is a cWebCommandBar
// From Samuel Pizarro:
// This is not perfect... but you can tune it with custom...
Type: Posts; User: ArchieCampbell
Hi Edgar
I am using this code. Hope it helps
Object oCommandbar is a cWebCommandBar
// From Samuel Pizarro:
// This is not perfect... but you can tune it with custom...
Hi Nick
Oh, I get it. In OnRowClick doing a WebGet psValue of the column will get the value of the column on the click row. Or can I just do a Get psValue, no WebGet?
Your way is simpler. I...
"Solved"
The solution that worked was:
.1. Create a new workspace on the client machine and feed it from my dev machine.
.2. On the client WebApp machine "Create a New Web Application"
That...
Changed the IIS User to Accord (us) and we can read it.
Ypp
Workspace\AppHtml\CssStyles\application.css
I have a DF19.1 WebApp that runs nicely on my dev machine and has issues on the client machine.
I have tried two browsers on the client machine: Firefox and Chrome.
On both I have cleared all...
Oh ... OnProcessDataSet gets tWebRow[] aData. Slick. I will try that.
Question: What is the "1" in Send ProcessDataSet 1?
Oh you answered that already in your post.
And I am the one who...
How does it know which row I want the column value of?
DF19.1 WebApp
I have a cWebList with data loaded manually using OnManualLoadData
At OnRowClick I wish to grab the values of two columns of the active row.
How would I do that?
The best I...
Fancy paddle twirling!
Nice to be outside.
Answer:
Problem caused by me not realising that I had two Use WebModalDialog.wo statements, one in WebApp.src that I was not conscious of. I had told my popup to go to the one that was not at the...
DF19.1 WebApp
The procedure GetAjaxWebAppView in cWebControlLocator.pkg has a problem with my WebApp code
Its Get Search_WWO_Id is returning handle of 0
I am doing a Send Popup of...
Hey Nick.
You had the solution. Looks like I did not do a proper job of clearing the cache the first time. Sighhhh
Hey thanks, Samuel.
This was going to be my first task this morning.
Yes that works just fine.
The other way I found is
settings - More Tools - Clear Browser Data (Ctrl - Shift - Del)...
It is something I do have to watch out for.
When programming I must force myself to spell it incorrectly -;)
SOLVED IT.
I just discovered that if you make a change to application.css you must clear data in the browser for it to take effect.
In the browser window Dev Tools - Sources - CssStyle shows the...
Ya gotta clear the browser data for the new application.css to take effect!
Or use a browser that has never been used before.
Hi Salvadori
Just to keep me right amused, I went back to my app and first ran it under Chrome with no changes and I got colour.
Hmm I said.
I also figured out how to check in Chrome developer...
THAT WORKED!
I opened Microsoft Edge and I got colours.
I will now try my code under Microsoft Edge.
Never checked for that before.
Here is what I did.
In Chrome, from Menu, More Toold - Developer Tools - Elements - Styles
This lists Index.html (2 times) Theme.css system.css (3 times) user...
Hi Samuel
Guess what. It did not work. See attached plain looking popup.
DF19.1 example for WebOrder.
I modified by adding OnDefineRowCssClass to SalesPersonWebLookup.wo.
Using debug I made...
I just watched "Working with the WebContextMenu in DataFlex"
Wow, just what I am looking for.
One more reason why I should switch from DF19.1 to 2022
Also, good presentation. I will going back...
Hi Samuel
Good idea. Give me something that works.
When I get back from meetings in a few hours, I will add your code to my sample weborder and see what happens.
Thanks!
I will keep you posted....
Hi Evertjan
Yes the colour of the rows does alternate.
I have no idea why it does that.
I could not find a property in cWebList that turns alternating rowcolors off and on.
Any idea what that...
OK, so maybe it is something I have in my WebApp.src or the other WebViews
So .. I created a fresh workspace called TestWebApp, added a Desktop Web Project.
To that I added a copy of TestColours.wo...