IWButtons Hotkey property and the &-sign in Captions - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: IWButtons Hotkey property and the &-sign in Captions (/thread-1255.html) Pages:
1
2
|
RE: IWButtons Hotkey property and the &-sign in Captions - SorenJensen - 09-21-2019 (09-21-2019, 01:36 PM)JuergenS Wrote: Hi Soren, Hi JuergenS, thanks. I'll check it out. It look like I would normally do it in Delphi, though it is on the form I need it. Not a particular edit control. Regards Soren RE: IWButtons Hotkey property and the &-sign in Captions - kudzu - 09-21-2019 Re JS... https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f This is why IW17 will rule RE: IWButtons Hotkey property and the &-sign in Captions - Alexandre Machado - 09-23-2019 (09-20-2019, 09:02 PM)SorenJensen Wrote: Hi Kudzu, Camel case is a convention. Like any other convention related to source code it makes it easier to identify things based on how it looks. Functions in JavaScript use camelCase convention. I tend to agree with it and I use it whenever I'm writing code in languages that use it (like JavaScript and C#). I don't use camelCase in Pascal on the other hand. The convention for Pascal is that it should use (surprise!) PascalCase everywhere. It is much better to write code that looks familiar to any developer than to develop a complete new formatting and style which will look like alien writing to other devs and vice-versa. In IW not all JS code uses that convention for various reasons but all newer code does use it. RE: IWButtons Hotkey property and the &-sign in Captions - Alexandre Machado - 09-23-2019 (09-21-2019, 01:36 PM)JuergenS Wrote: Hi Soren, You don't need all this to retrieve the parameter value. You can use property Values of TStringList type to get exactly what you want: Code: void __fastcall TIWForm1::IWButton1AsyncClick(TObject *Sender, TStringList *EventParams) |