1 | svoid dm_longFieldMenuItem(Container frame, fS field, fO... _) { |
2 | final DynModule m = dm_current_mandatory(); |
3 | fS humanized = humanizeFormLabel(field); |
4 | internalFramePopupMenuItem(frame/JInternalFrame, humanizeFormLabel(field) + "...", r { |
5 | final JTextField tf = jtextfield(get(m, field)); |
6 | showFormTitled(or2(stringOptPar(_, 'formTitle), "Set " + humanized), |
7 | humanized + ":", tf, r { |
8 | m.setField(field, parseLong(gtt(tf))); |
9 | callF(optPar(_, 'onSet)); |
10 | }); |
11 | }); |
12 | } |
Began life as a copy of #1019106
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030020 |
Snippet name: | dm_longFieldMenuItem |
Eternal ID of this version: | #1030020/1 |
Text MD5: | bb2cbe78b89c3432e4562d064b0fdad6 |
Author: | stefan |
Category: | javax / stefan's os / web cam |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-10-30 09:49:17 |
Source code size: | 509 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 232 / 279 |
Referenced in: | [show references] |