1 | svoid dm_intFieldMenuItem(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, parseInt(gtt(tf))); |
9 | callF(optPar(_, 'onSet)); |
10 | }); |
11 | }); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019106 |
Snippet name: | dm_intFieldMenuItem |
Eternal ID of this version: | #1019106/5 |
Text MD5: | 29dc7040a3ac471f3ac572e81affe8e5 |
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: | 2018-10-29 00:34:23 |
Source code size: | 507 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 390 / 452 |
Version history: | 4 change(s) |
Referenced in: | [show references] |