svoid mapMethodLike dm_stringFieldDialog(fS field, fO... _) { final DynModule m = dm_current_mandatory(); fS humanized = humanizeFormLabel(field); final JTextField tf = jtextfield(get(m, field)); showFormTitled(or2(stringOptPar(_, 'formTitle), "Set " + humanized), humanized + ":", tf, r { m.setField(field, gtt(tf)); callF(optPar(_, 'onSet)); }); }
Began life as a copy of #1022601
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022768 |
Snippet name: | dm_stringFieldDialog |
Eternal ID of this version: | #1022768/3 |
Text MD5: | 6138e6307fc457735e17f4345ed571be |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-09 20:54:13 |
Source code size: | 386 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 322 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029775 - dm_fileFieldDialog |