Page 5 of 5

Re: Request for character wrap (not word wrap) in fields

Posted: Wed Jun 30, 2021 5:02 pm
by richmond62
However a charWrap can be performed in LiveCode comparatively easily:
-
SShot 2021-06-30 at 18.58.13.png
-
Button charWrap:

Code: Select all

on mouseUp
   put empty into fld "fKUP"
   put fld "f2" into EFF2
   put empty into fld "f2"
   repeat until EFF2 is empty
      put char 1 of EFF2 after fld "fKUP"
      if the (formattedWidth of fld "fKUP") > (width of fld "f2") then
         put (fld "fKUP" & cr) after fld "f2"
         put empty into fld "fKUP"
      else
         --nix
      end if
      delete char 1 of EFF2
   end repeat
   put fld "fKUP" after fld "f2"
end mouseUp
Oh, and "bye-ther-way" re Fourthworld's sensible words elsewhere: this stack is FREE, FREE, FREE and up for grabs: no copyright,
no promises; it may curdle your milk or make your horse go lame; tough; you are not going to get to duck me in the village pond.

Re: Request for character wrap (not word wrap) in fields

Posted: Wed Jun 30, 2021 5:08 pm
by thatkeith
gold.standard.MSWord
Not any more, more like Schlagmetal these days.
I did raise an eyebrow at that 'gold standard' mention! :lol:

Off Topic ramble:
Microsoft Word may be a standard thanks to it dominating the business world, but 'Gold Standard' implies quality and excellence – of which Word has an astonishing lack of either. IMO it's been a lumbering behemoth since Word 5.1. Frankly, the ONLY thing about Word that I like is its live word count, which came directly from a project I made and pushed hard at the MS Office project manager in the mid-90s. (Made using SuperCard, so the sole 'useful-to-me' feature in Word originated in an xTalk project. 8) )

Re: Request for character wrap (not word wrap) in fields

Posted: Wed Jun 30, 2021 5:18 pm
by richmond62
I like is its live word count
Yes, I do like LibreOffice's live word count: :twisted:
-
SShot 2021-06-30 at 19.17.09.png

Re: Request for character wrap (not word wrap) in fields

Posted: Wed Jun 30, 2021 5:22 pm
by thatkeith
It all started with Wordless! (Name chosen very much on purpose. 😇)