1. Re: pool calculator add-on.

..in case anyone's interested, I've added the
 following to my program, which adds an Entrant
 position display to the main window.

--~~ line 28
atom LastWin, OKMenu, Dummy, Descrip
atom Positionbox, Dummy2 --** added(1 line)

--~~ line 38
close(Handle) close(New)

--display entrant position  --** added this procedure(6 lines)
procedure display_position()
  i=ewGetIndex(EntryList)+1
  line=sprintf("%d",i)
  ewSetText(Dummy2,line)
end procedure

--~~ line 720
  elsif Sender = EntryList then ReadEntry()
    display_position()  --** added(1 line)

--~~ line 845
EntryList= ewAddListBox("&ENTRANT LIST",Window,20,7)
--create position box  --** added(4 lines)
Positionbox=ewAddGroupBox("Position",Window)
ewSetBounds(Positionbox,235,171,55,30)
Dummy2=ewAddEdit("",Positionbox,4)

--~~ line 886
--fill in the entrant fields
load_entrants()
display_position()  --**added(1 line)

..and yes, I'm just trying to be annoying, to see if anyone
  might respond to my question..does it print to LPT1 ok or
  not. ???
..guess we could use a UNIX_like diff and patch, has this been
  ported to DOS DJGPP, anyone ???

wolfritz at king.igs.net
http://www.king.igs.net/~wolfritz/

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu