Click here to Skip to main content
15,894,362 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Not OK Pin
Richard Andrew x646-Apr-24 11:57
professionalRichard Andrew x646-Apr-24 11:57 
GeneralRe: Not OK Pin
Vikram A Punathambekar6-Apr-24 21:53
Vikram A Punathambekar6-Apr-24 21:53 
GeneralRe: Not OK Pin
Ron Anders6-Apr-24 3:30
Ron Anders6-Apr-24 3:30 
GeneralRe: Not OK Pin
Peter Adam7-Apr-24 20:36
professionalPeter Adam7-Apr-24 20:36 
GeneralRe: Not OK Pin
ot_ik_8-Apr-24 0:35
ot_ik_8-Apr-24 0:35 
GeneralRe: Not OK Pin
giulicard8-Apr-24 7:00
giulicard8-Apr-24 7:00 
GeneralRe: Not OK Pin
jschell8-Apr-24 12:25
jschell8-Apr-24 12:25 
GeneralRe: Not OK Pin
Brian L Hughes8-Apr-24 13:51
Brian L Hughes8-Apr-24 13:51 
I recently worked on an inventory system and I started out trying to capture all the input from a rather complex dialog with several fields. Some of the data was encapsulated in classes displayed in ListViews. I had to provide current database values of those classes along with a set changed values that the user had made to the items in the list. This dialog had 3 different lists on it, each list was editable, they could add remove and change each one! I came to the conclusion it was easier just to remove the Cancel button and change OK to "Close". I had to add "Save" button to the top area of the dialog that contained several text fields that were actual candidates for an OK Cancel scenario.

I suppose one solution would be to provide two dialogs for this particular item, one for editing it's directly attached fields, those that are in it's table and another set of dialogs editing items that are in other tables, but to access those other dialogs it would have to be done at a higher level, not from the dialog containing the direct fields! So see what a mess it becomes, now you have to go all over the place to change a thing's properties and still adhere to the absolute rule that everything must allow a cancel feature!

I liked the way it turned out, it was all in one place, you got to it from one place, easier to use.

That OK Cancel design, man, it's old. Yeah, once I realized I had to somehow come up with this row needs to be removed, this item added, this one edited... The user could have worked for hours on the thing adding and removing stuff, taking a break, then the computer crashes or they lose power and all the changes held in the complicated "cancellable" classes would evaporate!
GeneralRe: Not OK Pin
Member 97799919-Apr-24 0:21
Member 97799919-Apr-24 0:21 
GeneralRe: Not OK Pin
MikeCO109-Apr-24 0:25
MikeCO109-Apr-24 0:25 
JokeNa ja.... ;) PinPopular
0x01AA5-Apr-24 11:03
mve0x01AA5-Apr-24 11:03 
GeneralA place out of view Pin
loyal ginger5-Apr-24 8:08
loyal ginger5-Apr-24 8:08 
GeneralRe: A place out of view Pin
PIEBALDconsult5-Apr-24 8:20
mvePIEBALDconsult5-Apr-24 8:20 
GeneralRe: A place out of view Pin
loyal ginger5-Apr-24 8:24
loyal ginger5-Apr-24 8:24 
GeneralRe: A place out of view Pin
raddevus5-Apr-24 8:53
mvaraddevus5-Apr-24 8:53 
GeneralRe: A place out of view Pin
Andre Oosthuizen5-Apr-24 12:28
mveAndre Oosthuizen5-Apr-24 12:28 
GeneralWarning - OFF the subject - for CIA / M5 / 007 agents only Pin
Salvatore Terress5-Apr-24 7:12
Salvatore Terress5-Apr-24 7:12 
GeneralRe: Warning - OFF the subject - for CIA / M5 / 007 agents only Pin
Gary Stachelski 20215-Apr-24 8:13
Gary Stachelski 20215-Apr-24 8:13 
GeneralRe: Warning - OFF the subject - for CIA / M5 / 007 agents only Pin
Ron Anders6-Apr-24 3:40
Ron Anders6-Apr-24 3:40 
GeneralXZ Utils Pin
Amarnath S4-Apr-24 21:49
professionalAmarnath S4-Apr-24 21:49 
GeneralRe: XZ Utils Pin
RainHat4-Apr-24 22:10
RainHat4-Apr-24 22:10 
GeneralRe: XZ Utils Pin
Richard Deeming4-Apr-24 22:42
mveRichard Deeming4-Apr-24 22:42 
GeneralRe: XZ Utils Pin
markrlondon5-Apr-24 11:06
markrlondon5-Apr-24 11:06 
GeneralRe: XZ Utils Pin
Rick York5-Apr-24 18:48
mveRick York5-Apr-24 18:48 
GeneralRe: XZ Utils Pin
jschell8-Apr-24 12:29
jschell8-Apr-24 12:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.