How to Show Confirm Dialog in a WebDev Looper with AWP

image

I recently had a situation where I had a looper displaying images, each having a delete button. This delete button would actually delete the image file from the server, so I needed a way to confirm the action. In AWP you can’t use the YesNo or Confirm functions in the server code but actually is very easy performing this in the browser code.

image

The important bit of code is the RETURN when the user selects No on the dialog. This RETURN will cause the browser not to execute the server code.

This is very handy to remember as there are many times when its good practice to get user conformation.

Spread the love

PC Soft What I Want #1–WebDev Template Preview

Now that the release 16 is approaching I thought it would be good to give some thoughts into what I would love to see in the next release. I’m just going to call it PC Soft What I Want but in the post I will be talking about all 3 products.

To start with I would love to be able to preview a template for testing rather than having to go to another page. If you try testing a template page you get an error.

 

image

Maybe one way would be able to specify in the template settings to page to run when testing. Its would just be nice to have to improve productivity.

Spread the love

WebDev – Creating Opaque backgrounds without affecting Text

In WebDev if you create a cell and set its background and opacity then the elements within the cell will also appear with the same opacity.

This is not great when you want to show text with say a crisp white colour. So how do you produce the effect without affecting the text?

Firstly you need to add an image control, set its Type to Generated.

image

Also make sure that you select “The control can be overlaid” on the image and then add a cell over the text. I usually set a background colour to the image to help me work with it in design.

Add a text control to the cell and set some text. Note that the Cell control also needs to be set as “The control can be overlaid”.

image

Even though you set the background of the image you still need to generate a new background with the opacity. Its easy and only requires a few lines of code.

image

Note that you have to make sure the shape of the background is set to Solid Background for this to work.

Spread the love

iPhone Takes the Fun Out of Coding

ban Once again the news has spread about the Apple Store rejecting this time the Opera Web browser. I have said this before, Apple are becoming what Microsoft was years ago and that concerns me.

Last week we purchased an HTC Touch Pro for some in house development and I had forgotten how much fun it is to develop on Windows Mobile.

I know the UI is not slick like the iPhone, but I have control over all the phones features and can develop any application I like without getting the Phone manufacturers approval.

Who would want to spend months developing an application, only to be rejected by the App Store and no other way to distribute it.

The close door approach that Apple is taking will inevitably be their downfall. I have seen it so many times that it’s incredible they still do it.

We live in a growing world of openness and collaboration. If a company wants to succeed they need to embrace this.

I never thought I would see Microsoft do this, but they have and developers are flocking back to the giant.

It’s not to late for Apple to see the light but I would say the current bureaucracy within the company will defend any attempt to become more open and trust the community.

For me, I am foregoing the iPhone for now and once again enjoying the open window from Microsoft, Sun Microsystems, Blackberry and many more.

Spread the love

Exciting News – WinDev 14 Coming to a Screen Near You

Its fun times at PC Soft again with another stack of amazing new features for WinDev, WebDev and WinDev Mobile.

We will have to wait for the English release date for the products, but I am hoping that they will be much quicker than 12.

I will be working through the French Découvrez les 501 NOUVEAUTÉS and let you know the new features that are in this version.

If you have never herd of or tried WinDev then you are missing out on an incredible development environment.

I used to do all my development in Visual Studio.NET and was getting very frustrated with the buggy IDE and the amount of code you have to do in .NET just to perform the simplest of tasks.

With WinDev I have been able to build professional looking websites 70% quicker.

I just love coding in WinDev and WebDev, it’s brought back the fun in coding.

Spread the love
Copyright FUNCODER 2022
Shale theme by Siteturner