I though I did but will try again. Guess I did not try that combination.
tried all else thanks that did it

Regards
Chuck

On Tue, Aug 15, 2017 at 4:08 PM, Tai Bui via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi,
>
> Have you tried passing 0 for the row number? According to the
> documentation:
> "If position is 0 and if the action parameter contains Listbox replace
> selection or is omitted, all the rows of the listbox are selected. If the
> action parameter contains Listbox remove from selection, all the listbox
> rows are deselected."
>
> Hope this helps.
>
> Best Regards,
> Tai B.
>
>
>
>
> -----Original Message-----
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Charles
> Miller via 4D_Tech
> Sent: Tuesday, August 15, 2017 12:54 PM
> To: 4D iNug Technical
> Cc: Charles Miller
> Subject: selection based list box
>
> Hi All,
> Version 15.4hf2
>
> I have a selection based list box with following code on double click event
>
> *If *(*Not*(InDoubleClick_B))
>
> InDoubleClick_B:=*True*
>
> *C_BOOLEAN*(INV_InventInspLocked)
>
> *FORM SET INPUT*([InventoryPhotos];"Input")
>
> *C_LONGINT*($LBCol_L;$LBRow_L)
>
> *LISTBOX GET CELL POSITION*(*;"InventoyPhotos_LB";$LBCol_L;$LBRow_L)
>
> *If *($LBRow_L>0)
>
>
>
> *GOTO SELECTED RECORD*([InventoryPhotos];$LBRow_L)
>
> *MODIFY RECORD*([InventoryPhotos])
>
>
> *REDRAW*(SelectListBox)
>
> *INV_CreatePhotosList *
>
>   //INV_CreatePhotosList
>
> *Else *
>
> *If *(*Not*(INV_InventInspLocked))
>
> *ADD RECORD*([InventoryPhotos];*)
>
> *INV_CreatePhotosList *
>
> *End if *
>
> *End if *
>
> InDoubleClick_B:=*False*
>
> *End if *
> If I double click into a row let's say 2 and modify record get out.
> I have a hidden button that runs this code I want to set so no line is
> selected I have tried
>
>   //LISTBOX SELECT ROW(*;"InventoyPhotos_LB";$LBRow_L;Listbox remove from
> selection)
>
>
> What dumb think am I missing
>
>
> thank and regards
>
>
> Chuck
>
> What I want to do is have no record selected as I have a hidden button
> running
> --
> ------------------------------------------------------------
> -----------------------------
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064  Informed
> Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>        Providers of 4D, Sybase & SQL Server connectivity
>           http://www.informed-solutions.com
> ------------------------------------------------------------
> -----------------------------
> This message and any attached documents contain information which may be
> confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution, disclosure,
> printing, copying, storage, modification or the taking of any action in
> reliance upon this transmission is strictly prohibited.  Delivery of this
> message to any person other than the intended recipient shall not
> compromise or waive such confidentiality, privilege or exemption from
> disclosure as to this communication.
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************




-- 
-----------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
       Providers of 4D, Sybase & SQL Server connectivity
          http://www.informed-solutions.com
-----------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to