Click Here
home features news forums classifieds faqs links search
5696 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
42 crawler(s) on-line.
 18 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 vox:  12 mins ago
 NutsAboutAmiga:  14 mins ago
 IRTheBorg:  18 mins ago
 Tuxedo:  22 mins ago
 Kronos:  34 mins ago
 sTix:  47 mins ago
 Rob:  51 mins ago
 BSzili:  58 mins ago
 smf:  59 mins ago
 ian-uk:  1 hr 2 mins ago

/  Forum Index
   /  Amiga General Chat
      /  Looking for a simple example of a listview using React GUI
Register To Post

PosterThread
redfox 
Looking for a simple example of a listview using React GUI
Posted on 27-Nov-2019 3:51:14
#1 ]
Super Member
Joined: 7-Mar-2003
Posts: 1697
From: Canada

Hi all,

I am very new to React. I am trying to find a simple example of how to create a simple listview.

I think this is called a listbrowser in React.

I am attemting to display a list that looks like this:

1 text for line number 1 up to 70 characters wide
2 text for line number 2 up to 70 characters wide
3 text for line number 3 up to 70 characters wide
Etc.

My goal is to read each line of text from an external text file, and add it to the list.

Please note:
I have already figured out how to do this with MUI using rxMUI.
I have also figured out how to do this using the viewlist function in rexxtricks.library.

---
redfox


Last edited by redfox on 27-Nov-2019 at 05:01 AM.
Last edited by redfox on 27-Nov-2019 at 04:59 AM.

 Status: Offline
Profile     Report this post  
Minuous 
Re: Looking for a simple example of a listview using React GUI
Posted on 27-Nov-2019 13:49:26
#2 ]
Regular Member
Joined: 30-Oct-2004
Posts: 318
From: Unknown

It is pretty straightforward. There is an example in http://aminet.net/package/dev/gui/ClassAct2Demo and you could also look at the code of open source ReAction applications like http://aminet.net/package/util/misc/ReportPlus .

Last edited by Minuous on 27-Nov-2019 at 01:51 PM.
Last edited by Minuous on 27-Nov-2019 at 01:50 PM.
Last edited by Minuous on 27-Nov-2019 at 01:50 PM.

 Status: Offline
Profile     Report this post  
Sbaitso 
Re: Looking for a simple example of a listview using React GUI
Posted on 30-Nov-2019 0:04:15
#3 ]
Regular Member
Joined: 24-May-2003
Posts: 242
From: Unknown

@redfox

Here are a few resources to assist with development using ReAction:

https://wiki.amigaos.net/wiki/ReAction

http://www.os4depot.net/index.php?function=showfile&file=document/development/reactionguide.lha

https://wiki.amigaos.net/wiki/AmiWest_Lesson_4 - Video of this lesson - https://youtu.be/6bHYHJu9-7o

Further development assistance can also be found at http://www.os4coding.net and http://forum.hyperion-entertainment.com/

 Status: Offline
Profile     Report this post  
jabirulo 
Re: Looking for a simple example of a listview using React GUI
Posted on 1-Dec-2019 20:16:33
#4 ]
Regular Member
Joined: 20-Jun-2004
Posts: 331
From: Donosti (GUIPUZCOA)

@redfox

datetime_docky,lha uses for its reminders a listbrowser list, sources are included on archive.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle